#value!

birdland33

New Member
Joined
Jan 17, 2019
Messages
2
Hi,

I'm trying to get a return in (H5) based on Column E multiplying by Column Q (100%, 130%, 150%). When I type the formulas individually they work, as IF(AND(E5>=O5,E5<p5,g5*q5) and="" so="" on="" for="" each="" of="" the="" other="" two="" returns.="" however,="" when="" i="" try="" to="" combine="" them="" get="" return="" #value !

I know it is probably something very simple that I am overlooking. The formula that I am using is:

=IF(AND(E5>=O5,E5
=O6,E5
=O7),G5*Q7,0))


[TABLE="width: 635"]
<tbody>[TR]
[TD] Results (E5)[/TD]
[TD] Potential (G5)[/TD]
[TD] Achieved[/TD]
[TD]Multipliers[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] $ 25,500,000.00[/TD]
[TD] $ 2,808.00[/TD]
[TD="align: center"]#value ![/TD]
[TD]Sales[/TD]
[TD] (O5) 25,500,000.00[/TD]
[TD] (P5) 28,049,999.00[/TD]
[TD="align: right"]100%[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] (O6) 28,050,000.00[/TD]
[TD] (P6) 30,854,999.00[/TD]
[TD="align: right"]130%[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] (O7) 30,855,000.00[/TD]
[TD][/TD]
[TD="align: right"]150%[/TD]
[/TR]
</tbody>[/TABLE]


Any help on this is greatly appreciated.
Thanks!</p6,g5*q6),if(and(e5></p5),g5*q5),if(and(e5></p5,g5*q5)>
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
You need another IF in the statement.

Try this: =IF(AND(E5>=O5,E5),IF(O6>E5,O7),G5*Q7)

LBinGA
 
Upvote 0
Is this what you mean
=IF(AND(E5>=O5,E5< P5),G5*Q5,IF(AND(E5>=O6,E5< P6),G5*Q6,IF(E5>=O7,G5*Q7)))
 
Upvote 0
You're welcome & thanks for the feedback.

For future reference,when posting formulae that use either > or < make sure you put a space between the character & any text, otherwise your formula will get destroyed as in your OP.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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