+ Reply to Thread
Results 1 to 3 of 3

need a formula to reference another page and skip cells to get to desired results

  1. #1
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2003
    Posts
    2

    need a formula to reference another page and skip cells to get to desired results

    Right now the issue I'm currently facing is I am trying to find a formula that will allow me to reference another page in my spread sheet. In my scenario the row I am referencing has 5 consectutive numbers after the reference point I would use for a vlookup. These numbers are all zeros except for one number in each row which will be a positive number greater than zero. I want my formula to check the first cell in the row, if it is not a zero it will show that number, but if this cell contains 0, then it moves over to the next cell. If all the cells in the row have a zero, then i just want zero to appear on my summary sheet. Any help would be appreciated. I tried to do a vlookup with an IF function, but I couldn't get it to work. I have attached a sample of what the spreadsheet looks like.Example doc.xlsx
    Thanks,
    Alex

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: need a formula to reference another page and skip cells to get to desired results

    this would do it
    with john bob bill sam in a1,a2,a3,a4 of sheet 2 then in b1 filled down
    =SUMPRODUCT((Sheet1!$B$1:$F$4)*(Sheet1!$A$1:$A$4=A1))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: need a formula to reference another page and skip cells to get to desired results

    Thank you that was very helpful. Just another quick question. What formula would I have to use to refence which column the number came from? For example in the case of Bill it would be column 3.
    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Array Formula NOT Returning All Desired Results
    By HB333 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-17-2014, 06:43 AM
  2. Replies: 4
    Last Post: 04-09-2012, 12:06 PM
  3. Large formula not returning desired results
    By Climaxgp in forum Excel General
    Replies: 2
    Last Post: 04-21-2010, 06:05 AM
  4. highlighting cells that have desired results
    By luposlipophobia in forum Excel General
    Replies: 4
    Last Post: 06-23-2006, 05:40 PM
  5. Formula question-will get the desired results?
    By Tommy in forum Excel General
    Replies: 2
    Last Post: 12-12-2005, 06:25 PM

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