Restraining the size of formulas

johnnic

Board Regular
Joined
Aug 31, 2006
Messages
127
If I wish to increment a formula by a certain amount, based on the result of the formula itself, is there an easier way of doing it than by: FORMULA + FORMULA + X ?

For example, a VERY shortened formula such as =A1+A2+A3 + IF(A1+A2+A3=100,1,0)
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Or to put it another way, at the moment I am writing:

=Blah, blah, blah, blah, blah + if(Blah, blah, blah,blah, blah)=1,5,0)

What I would like to do is write something like:

=Blah, blah, blah, blah, blah + if(ANSWER)=1,5,0)

Any thoughts?
 
Upvote 0
With some very minor simplification, I think that's all you can do:

=A1+A2+A3 + number*(A1+A2+A3=100)
 
Upvote 0
Thanks shg, I expected that might be the case. It seems as though it would be a pretty simple function for Microsoft to add to Excel and might be useful to some. It would certainly be useful to me; I much prefer to use the KISS principle if at all possible.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,707
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top