If statement until..

hg090589

New Member
Joined
Sep 18, 2018
Messages
11
Hello,

I'm wanting help with an IF statement.

I am wanting to say If value in column G is equals or greater than the minimum (column C ) then 2750 until the value in column G is less than or equal to Max (column D) then 4000


=IF(ISBLANK(G3),"",IF(G3>=C3,2750,IF(G3<=D3,4000)))


This is what Ii have got but it doesn't work how I need it because of the until part.

Any help would be appreciated.

Thanks
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Can you please post a small sample of your data, showing the key points ?

What exactly does this
until the value in column G is less than or equal to Max (column D)
mean ?

Please be sure to include in your data sample, an illustration of what exactly is happening when the value of col G becomes less than or equal to Max (column D)
 
Upvote 0
Hello,

I'm wanting help with an IF statement.

I am wanting to say If value in column G is equals or greater than the minimum (column C ) then 2750 until the value in column G is less than or equal to Max (column D) then 4000


=IF(ISBLANK(G3),"",IF(G3>=C3,2750,IF(G3<=D3,4000)))


This is what Ii have got but it doesn't work how I need it because of the until part.

Any help would be appreciated.

Thanks


Try this



Code:
=IF(G3="","",IF(AND(G3 >=MIN(C:C),G3 <=MAX(D:D)),2750,4000))
 
Upvote 0

Forum statistics

Threads
1,214,818
Messages
6,121,725
Members
449,049
Latest member
MiguekHeka

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