Formula to identify a specific criteria

bobgrand

Board Regular
Joined
Apr 14, 2008
Messages
244
Office Version
  1. 365
Platform
  1. Windows
Hello all,

COL: G Has a range of values in multiples of 10 and ranges from 10 through 90.
COL: H Has a dollar value which shows negative and positive values.

COL: AD >> IF G2 = 10 or 20 and AD2 is < 0.00 put a 1 in the cell otherwise 0

This is the formula I put together but, the overall result is identifying information outside of this criteria.

=IF(OR(G2=10,G2=20,AND(AD2<0)),1,0)

Any help would be greatly appreciated
Bob
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
You were very close, you had the right idea, but just got a couple of bits the wrong way around

=IF(AND(OR(G2=10,G2=20),AD2<0),1,0)
 
Upvote 0
I knew what kind of day it was going to be when I put my left shoe on my right foot.

Thank you so much :)
 
Upvote 0

Forum statistics

Threads
1,213,484
Messages
6,113,924
Members
448,533
Latest member
thietbibeboiwasaco

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