Multiple arguments with multiple answers

mactoolsix

Board Regular
Joined
Nov 30, 2010
Messages
105
For cell M50, If B50>20 then M50 = 100 but if M49>1 then M49 * 1.5

If I then copy M50 to M51,M52, M53, M54 etc, once M50 has a number the following cells will multiply that previous cell value by 1.5.

If B50 is never >20,then all M values = 0
Once B50, or B51, B52, B53 etc >20, then corresponding M = 100
Then the next cell in column M would be 100 * 1.5

Hope that's clearer than mud!
Thanks, Mike
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi,

Not sure what you mean, yeah clear as mud, lol, maybe this?


Book1
BM
5021100
5130
5223100
5322150
54200
5550100
5660150
5770225
5880337.5
5920
60100100
Sheet49
Cell Formulas
RangeFormula
M50=IF(B50>20,IF(M49<>0,M49*1.5,100),0)


M50 formula copied down.
 
Upvote 0
Okay Works, except when B50 is not > 20 I get "FALSE"
Anyway of replacing the "FALSE" with zero or blank?

Thanks!!
 
Upvote 0
Don't know why you would get "FALSE", if B50 is not greater than 20, the formula will return 0.
How is the value in B50 or all the values in column B entered? Manually or by formula? If formula, please post the formula.


Book1
BM
50190
5130
5223100
5322150
54200
5550100
5660150
5770225
5880337.5
5920
60100100
Sheet49
Cell Formulas
RangeFormula
M50=IF(B50>20,IF(M49<>0,M49*1.5,100),0)
 
Upvote 0
Please repost your formula putting a space before and after < or > symbols.
 
Upvote 0
Kinda difficult to diagnose the problem cause you've got other formulae going on here, but let's start by removing the space " " in your formula and replace it with a Blank "", then add an AND test to my formula:


Book1
BMNO
493
504033
5130
5223100
5322150
54200
5550100
5660150
5770225
5880337.5
5920
60100100
Sheet49
Cell Formulas
RangeFormula
B50=IF(B49)
M50=IF(AND(B50<>"",B50>20),IF(M49<>0,M49*1.5,100),0)
Named Ranges
NameRefers ToCells
FinalYr=Sheet49!$O$50
 
Upvote 0
Okay, here's what I've got:

B50 = IF(B49 < FinalYr,B49+1,"") correctly returns 2058 (above I told you "20" trying to keep things simple)
FinalYr is 2086
B49 = 2057

K50 = IFERROR(F50+G50+I50+J50,0) correctly returns 0
L50 = IF(B50 < RetYr,L49*(1+Inflation),"") correctly returns ""
M50 = IF(AND(B50 < > "",B50 > RetYr-1),IF(M49 < > 1,M49*(1+Inflation),FirstYrAnnExp)) correctly returns 180,100
Inflation = .03
FirstYrAnnExp = 174,855


RetYr is 2057

O50 = K50-L50-M50-N50 Returns #VALUE !
 
Upvote 0

Forum statistics

Threads
1,224,127
Messages
6,176,529
Members
452,734
Latest member
jaymack

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