+ Reply to Thread
Results 1 to 5 of 5

Look UP and then caluclation with IS ERROR

  1. #1
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Look UP and then caluclation with IS ERROR

    Hello,

    Please refer attached worksheet and advise a formula adding IS ERROR to it.

    Thanks heaps

    Excel Dumbo

  2. #2
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Re: Look UP and then calculation with IS ERROR

    Hello I also need to add an additional condition. Please refer the new spreadsheet

    Thanks

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Look UP and then caluclation with IS ERROR

    2 ways to do this...

    =IF(VLOOKUP(A17,$A$2:$E$9,5,FALSE)="retail",VLOOKUP(A17,$A$2:$D$9,2,FALSE)/(VLOOKUP(A17,$A$2:$D$9,3,FALSE)-VLOOKUP(A17,$A$2:$D$9,4,FALSE)),"")

    OR add a helper column in F and use this, copied down...
    =IF(E2="retail",B2/(C2-D2),"")
    then use this shorter version instead...
    =VLOOKUP(A17,$A$2:$F$9,6,FALSE)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    03-31-2009
    Location
    Childers QLD, Australia
    MS-Off Ver
    Excel 2003, 2007 & 2013
    Posts
    128

    Re: Look UP and then calculation with IS ERROR

    Hi,

    I have reattached your spreadsheet.

    I have used SUMIF to produce a result.

    I needed to add another column.

    Try it.

    Cheers

    TonyB
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Re: Look UP and then caluclation with IS ERROR

    Thanks Heaps FDibbins and TonyB . It worked like magic
    Thanks.

+ 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