+ Reply to Thread
Results 1 to 7 of 7

Thread: prob with logical function

  1. #1
    Registered User
    Join Date
    03-01-2011
    Location
    KL, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    4

    prob with logical function

    before
    http://img340.imageshack.us/img340/7429/excelbefore.png

    After (example 1)
    http://img856.imageshack.us/img856/6449/exceleg1.png

    After (example 2)
    http://img62.imageshack.us/img62/1055/exceleg2.png

    After (example 3)
    http://img683.imageshack.us/img683/8691/exceleg3.png


    referring to the example given, can anybody generate a formula for B6 and C6
    so that wherever i put the amount in row 2, the result will always be in B6 and C6 according to mod (model number) selected.

    your kindness is much appreciated

    sorry for the unappear image
    Last edited by Omastar; 03-01-2011 at 08:39 PM.

  2. #2
    Registered User
    Join Date
    07-27-2006
    MS-Off Ver
    MS Office 2007
    Posts
    80

    Re: prob with logical function

    Hi,

    I think this should be what you are looking for.
    Attached Files Attached Files
    TL

    https://sites.google.com/site/teelim/
    My page of "not so useful" spreadsheets

  3. #3
    Registered User
    Join Date
    03-01-2011
    Location
    KL, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: prob with logical function

    Thanks a lot teelim...you're really life saver

    =INDEX(A2:H2,(MATCH(C4,A2:H2,0))-1)

    can i change the cell into blank rather than 0?
    Last edited by Omastar; 03-01-2011 at 10:45 PM.

  4. #4
    Registered User
    Join Date
    07-27-2006
    MS-Off Ver
    MS Office 2007
    Posts
    80

    Re: prob with logical function

    Quote Originally Posted by Omastar View Post
    Thanks a lot teelim...you're really life saver

    =INDEX(A2:H2,(MATCH(C4,A2:H2,0))-1)

    can i change the cell into blank rather than 0?
    You are welcome.

    To change it to blank, I added an "IF" function to it.
    Attached Files Attached Files
    TL

    https://sites.google.com/site/teelim/
    My page of "not so useful" spreadsheets

  5. #5
    Registered User
    Join Date
    03-01-2011
    Location
    KL, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: prob with logical function

    thanks again but i think Book1a got problem with the formula
    the result was incorrect

  6. #6
    Registered User
    Join Date
    07-27-2006
    MS-Off Ver
    MS Office 2007
    Posts
    80

    Re: prob with logical function

    Quote Originally Posted by Omastar View Post
    thanks again but i think Book1a got problem with the formula
    the result was incorrect
    whoops... sorry, my bad.

    here is the corrected one.
    Attached Files Attached Files
    TL

    https://sites.google.com/site/teelim/
    My page of "not so useful" spreadsheets

  7. #7
    Registered User
    Join Date
    03-01-2011
    Location
    KL, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: prob with logical function

    thanks again bro

+ 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.2.0