+ Reply to Thread
Results 1 to 3 of 3

Getting additional information from secondary worksheet

  1. #1
    Registered User
    Join Date
    08-18-2011
    Location
    Centurion South Africa
    MS-Off Ver
    Excel 2010
    Posts
    7

    Getting additional information from secondary worksheet

    I have a master worksheet that lists stock items. The master worksheet checks information against 5 additional worksheets & tells me if these stock items are listed on them or not using (=if(isnumber(match($A1,'worksheet'$A$1:$A$1000,0),"yes","no) this formula works well, however, i now require additional information. Is it possible to have a formula that can tell me if the item is in stock or not and what the sales history of that stock item is? I have attached an example of what it is exactly that i need.

    Any help will be greatly appreciated!!!!

    Thanks
    Attached Files Attached Files
    Last edited by stevencohen; 08-19-2011 at 03:14 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,599

    Re: Getting additional information from secondary worksheet

    For the stock:

    =IFERROR(VLOOKUP(B4,$B$15:$D$26,3,FALSE),"No stock")

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,599

    Re: Getting additional information from secondary worksheet

    Try:

    C4: =IFERROR(VLOOKUP(B4,$B$15:$D$26,2,FALSE),"Invalid Stock Item")
    D4: =IF(COUNTIF($B$15:$B$26,$B4)>0,"yes","no")
    E4: =IFERROR(VLOOKUP(B4,$B$15:$D$26,3,FALSE),"Invalid Stock Item")
    F4: =IFERROR(SUM(INDEX($E$15:$P$26,MATCH($B4,$B$15:$B$26,0),COUNTA($D$14:$IV$14)-3):INDEX($E$15:$P$26,MATCH($B4,$B$15:$B$26,0),COUNTA($D$14:$IV$14)-1)),"Invalid Stock Item")

    and copy the formulae down

    Regards

+ 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