• 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 formula not working

Shayeebur

Member
Hi Chandoo,
There are columns with the name “Feedback Delivered Date” & my formula applies only on these columns & my formula is in column F that “First Feedback Date”. The formula is if column “Feedback Delivered Date” is contain NA then it jumps to the next “Feedback Delivered Date” & if date found then picks that date if not then searches for next. Please see cell F5The problem I am unable to nest more than 8 if formulas. Kindly suggest if you have better than this formula or the solution for this. I have attached a file also.
 

Attachments

  • Copy of Query vs Complaints.xls
    33.5 KB · Views: 10
Hi Shayeebur,

You file contains hidden columns with formula ref. to column F and any shorter formula will take the range which will cover your hidden columns, so atlast it will be a circular ref. error. If you can remove those hidden columns. than you can use below array formula to get the result.

=INDEX($H3:$CT3,,SMALL(IF(ISNUMBER(IF($H$2:$CT$2="Feedback DeliveredDate",$H$3:$CT$3)),COLUMN($H$2:$CT$2)-COLUMN($H$2)+1),1))

Enter with Ctrl+Shift+Enter.

Regards,
 
Hi Shayeebur ,

Can you explain what the hidden columns are doing ?

I do not understand how you got Instance No. 4 for E3.

If those hidden columns are removed , then probably the Instance count can be derived through other formulae.

In that case , for F3 , you can try the following array formula , entered using CTRL SHIFT ENTER :

=MIN(IF($H$2:$BX$2="Feedback DeliveredDate",IF(ISNUMBER($H3:$BX3),$H3:$BX3)))

Narayan
 
Hi Shayeebur,

To nest more than 8 IFs(.XLS) in a single cell use Helper Cell.
Kindly check the attached worksheet.

Regards,
AM:)
 

Attachments

  • More than 8 IFs (xls).xls
    23.5 KB · Views: 4
Back
Top