Help IF condition with ranges

PA_Commons

New Member
Joined
Jun 7, 2014
Messages
6
To make my question easy let's say I have two columns A and B. So my issue is that I would like to easily format my B column with text. In my A column I have inventory numbers. Additionally some of the data I pull over already has pre-filled text in column B. I don't want that text to be changed. I only want to change empty cells.

So I tried this:

=IF(AND(B2 = "", 1000 < A2 < 2000), "Place Order", "Don't Place Order")

But I got a circular argument error. Am I on the right track here?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
I also want to add that I did get this to work for another simple example

=IF(A2 < 2000, "Place Order", "Don't Place Order")

But when I try to copy and paste, the cell will change appropriately for B3, B4, ect. But the result won't display accurately unless I change the number in the if function manually.

For example if I do:

=IF(A3 < 1999, "Place Order", "Don't Place Order")

Then it works for cell B3. Otherwise if I leave it unchanged and just copy it over, it won't change the result even if it should according to A3's value.
 
Upvote 0

Forum statistics

Threads
1,215,022
Messages
6,122,726
Members
449,093
Latest member
Mnur

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