GetDotted Domains

Viewing Thread:
"Excel Question"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Sun 06/04/03 at 12:37
Regular
Posts: 787
Right, basically I am making a spreadsheet and I want to be able to do the following:

I have a cell that is going to have a numerical value of 0 in it. I also have 2 other cells, what I want to be able to do is enter a value into 1 cell, then click a form button and have that value added into the original cell. The second cell should be able to do exactly the same thing, except when I click the form button it should decrease the value entered from the original cell.

Basically I havent got a clue how to do this. I know how to record macros etc. but I have no knowledge of where to start, or VB for that matter so I was wondering if anyone had any idea of how to do this?

Thx in advance.
Tue 08/04/03 at 22:21
Regular
"Cigar smoker"
Posts: 7,885
Oh and it's easier sometime to just type the formula out and move around with the cursor as the autoformula thingy is sometimes a bit of a pain in the butt :)
Tue 08/04/03 at 22:20
Regular
"Cigar smoker"
Posts: 7,885
Ok...sorry I've only just got round to this. Right number one, you've basically got 5 colums.

Column A - Full of zeros
Column B - Has some figures which need to be added to zero
Column C - Has some figures which need to be subtracted from zero
Column D - Column A plus Column B
Column E - Column A minus Column C

The formula for column D is =IF(B2>0,A2+B2,0)
The formula for columd E is =IF(C2>0,A2-C2,0)

Both formulas assume that the cells in column B & C are positive numbers.

I just run this along row 2 which is why they are like that but you can manipulate it as you want.

If I've read that wrong then let me know.
Tue 08/04/03 at 18:06
Regular
Posts: 3,611
Right, IF syntax is =IF(logical_test,value_if_true,value_if_false)

Basically what I understand from this is I can create a formula such as =IF(g16>1,10,0) however I dont understand how I can create the forumula to add the number that I actually enter instead of just making it a set number.

Any help?
Tue 08/04/03 at 15:44
Regular
Posts: 3,611
I dont specifically need to use forms no, IF statements are something that have been asked to be used however. The only problem is my excel knowledge is VERY basic and judging on the way you said a simple IF statement it kind of shows that. Any chance you could show me the kind of formula I am looking for?
Tue 08/04/03 at 10:42
Regular
"Cigar smoker"
Posts: 7,885
Could you not just use a simple IF statement in seperate columns?

IF you put a figure in cell B1 add it to A1 and output in D1

IF you put a figure in cell C1 subtract it from A1 and output in E1

Or do you specifically need to use forms?
Tue 08/04/03 at 10:35
Regular
"Dont come here ofte"
Posts: 4,264
I haven't a clue, if you don't get any joy here, do as I did, get a Excel book from the library !
Sun 06/04/03 at 15:22
Regular
Posts: 3,611
Well I've finished my entire spreadsheet now. Just cant complete it without some help with this problem. Any help will be vastly appreciated.
Sun 06/04/03 at 12:37
Regular
Posts: 3,611
Right, basically I am making a spreadsheet and I want to be able to do the following:

I have a cell that is going to have a numerical value of 0 in it. I also have 2 other cells, what I want to be able to do is enter a value into 1 cell, then click a form button and have that value added into the original cell. The second cell should be able to do exactly the same thing, except when I click the form button it should decrease the value entered from the original cell.

Basically I havent got a clue how to do this. I know how to record macros etc. but I have no knowledge of where to start, or VB for that matter so I was wondering if anyone had any idea of how to do this?

Thx in advance.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Easy and free service!
I think it's fab that you provide an easy-to-follow service, and even better that it's free...!
Cerrie
Second to none...
So far the services you provide are second to none. Keep up the good work.
Andy

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.