Date with Multiple IF Condition Formula

maheshrk81

Board Regular
Joined
Jan 5, 2010
Messages
153
Hi All,

I need a formula for Multiple IF Condition Formula.
In my sheet, Cell D3 - Contails the DATE(manual Input). (Ex:18/04/2012). In Cell A1 it is (D3-30) which is less than 29 days which gives me Less than 30 days list, In cell B1 it is(D3-180) which is less than 180 days which gives me Less than 180 days list, and in Cell C1(B1+1) whcih gives me Greater than 180 days.
In Cells A6, A7 and A8 i have the below list

<TABLE style="WIDTH: 107pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=142><COLGROUP><COL style="WIDTH: 107pt; mso-width-source: userset; mso-width-alt: 5193" width=142><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: white; WIDTH: 107pt; HEIGHT: 15pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 height=20 width=142>Less than 30 days</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: white; HEIGHT: 15pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 height=20>30 - 180 days</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: white; HEIGHT: 15pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 height=20>Greater Than 180 days</TD></TR></TBODY></TABLE>

Now my data starts from cell A13 and in Cell D13, i need a formula based on the above.
=IF(A13>=$A$1,$A$6,IF(A13>$A$1<$B$1,$A$7,IF(A13>=$C$1,$A$8)))
This formula is not working correctly.

Please help

Mahi
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Mahi

If i am correct in understading your requirement then I think the logic used in the formula might be incorrect.

First of all i think C1 should contain B1-1 (which give you the date which is greater than 180 days) not B1+1.

Use below formula and let me know if it works for you.

Code:
=IF(A9>=$A$1,$A$6,IF(AND(A9<$A$1,A9>=$B$1),$A$7,IF(A9<=$C$1,$A$8)))

Thanks
-Abi
 
Upvote 0
What is not working?

Are you getting any error? Or is the logic given is not what you are expecting?

Provide with an example and your expected result.

-Abi
 
Upvote 0

Forum statistics

Threads
1,215,526
Messages
6,125,328
Members
449,218
Latest member
Excel Master

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