• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

If & And formula with multiple condition

MaunishP

Member
HI Team,

I am looking for formula to with multiple condition to find out real bucket.

Also i want to if end date is there then it should calculate end date minus hire date, IF termination date is not there then it should calculate today date minus hire date./

I have attached excel sheet.

Regards,
Maunish Patel
 

Attachments

  • If Formula - Multiple Category.xlsx
    9.6 KB · Views: 6
Hi,

Just modified condition criteria

Bucket
<= 30
> 30 - <=60
> 60 - < =90
> 90 - < =120
> 120 - <= 180
> 180

Also I am looking for In days formula.

Regards,
Maunish Patel
 
Set up a lookup table (see what I have done in your attachment) and then use this:

=VLOOKUP(IF(C2="",TODAY()-A2,C2-A2),$G$2:$H$7,2,1)

Lookup table:

0 < 30
30 > 30 - < 60
60 > 60 - < 90
90 > 90 - < 120
120 > 120 - < 180
180 > 180

This on its own will return the day numbers:

=IF(C2="",TODAY()-A2,C2-A2)
 

Attachments

  • Bucket Assignment AliGW.xlsx
    10.9 KB · Views: 7
MaunishP
Today is only once.
There were also 'In Days'-column.
How about this?
 

Attachments

  • If Formula - Multiple Category.xlsx
    11.3 KB · Views: 15
Back
Top