+ Reply to Thread
Results 1 to 9 of 9

Complex if function help

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    66

    Complex if function help

    Dear, everyone
    please refer the attached document.
    there is a complex if function in "status code" column
    I want to adjust this formula so that, when column J is "SGEB", "6" will be dispalyed in status column.
    and other information remain the same.
    only first two row of status code column wil change to 6. the rest remain the same
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-30-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    141

    Re: Complex if function help

    instead of using long formula, my idea is you can just use a reference cell and then use vlookup.

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Complex if function help

    in AH2:
    =IF(J2="SGEB", "6","")
    copy down
    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  4. #4
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: Complex if function help

    Hi Adam...

    Sorry, but I couldn't really follow the formula to make sense of it... however, I found a couple of items wrong...
    In the 2nd formula, you referenced T2424?!?
    Also, you were comparing a column to today's date, but the column has a text date... make sure you are comparing apples to apples...

    Sorry I can't help more...

    Dennis

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Complex if function help

    aah...darnit...knew it could not be that easy...whats the info that separates the status column?

  6. #6
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Complex if function help

    "SGEB" is the comparison, but what makes us able to discern what two rows should have the "6" ?

  7. #7
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Complex if function help

    well you can use this in AH2, copied down :
    =IF(AND(J3="SGEB",NOT(AND(AH2="6",AH1="6"))), "6","")

    but I THINK you want something different, just not sure where you want the separation to occur,,,

  8. #8
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Complex if function help

    Edit -
    Disregard...status code is already comparing to "SGEB", but I still need the info on WHAT creates the separation in the status cell?
    Last edited by dredwolf; 12-17-2012 at 04:53 AM.

  9. #9
    Registered User
    Join Date
    12-04-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    66

    Re: Complex if function help

    Everyone, thanks a lot. actually, I even dont know how to express this problem, because I cannot understand this IF statement. So, I try to figure it out first

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1