If or??

yanyanyan

New Member
Joined
Nov 13, 2014
Messages
24
Hi everyone

I wonder if formula will suit my simple need below? Thanks!!

[TABLE="width: 500"]
<tbody>[TR]
[TD]Days Over due[/TD]
[TD]Less than 30[/TD]
[TD]30-59[/TD]
[TD]60-90[/TD]
[TD]90-179[/TD]
[TD]More Than 180[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD](i need a fomula here, say if it's true return "1")[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]80[/TD]
[TD][/TD]
[TD][/TD]
[TD]Same as here[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
If your days overdue are in column A, starting from A2, in:
B2 =IF(A2<30,"1","")
C2 =IF(AND(A2>=30,A2<=59),1,"")
D2 =IF(AND(A2>=60,A2<=89),1,"")
E2 =IF(AND(A2>=90,A2<=179),1,"")
F2 =IF(A2>180,"1","")

Copy formulas down.

Also, you can think about changing these absolute references to relative.
 
Upvote 0

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

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