+ Reply to Thread
Results 1 to 2 of 2

Lookup functions help to add specific rows

  1. #1
    Registered User
    Join Date
    09-07-2018
    Location
    Quito
    MS-Off Ver
    2013
    Posts
    2

    Lookup functions help to add specific rows

    Hello,

    As posted in the introduction thread, I am a previous Excel user who has forgotten everything now, and need some help and patience, please. This is probably very simple...

    I need to create a sheet that adds numbers associated with two text title columns. Here are some screen shots that will clarify (hopefully)...

    excel01.JPG

    excel02.JPG

    The object:

    When the program finds the word "RED" in column "A", it must look in column "B" for the word "RED", and add the numbers in column "C" on the associated rows.

    Column "D" performs a MATCH() function that gives an offset to the first occurrence of "RED" in column "B".

    For example;

    A4 contains "RED". The next occurrence of "RED" in column "B" is four cells down (inclusive), as determined by MATCH() in column "D".

    excel03.JPG

    I use the LOOKUP() function to find when "RED" occurs in column "B" by its MATCH() result being equal to one (1) in column "D". Then it add the numbers in column "C".

    As can be seen, it is working to an extent, but the conditioning of the formula by the IF() statement completely fails to do its job. And further to this, the procedure fails on A8, where it should look up B11, and add 47 + 74 in column "C".

    I'm having trouble understanding why this is not working. Any help appreciated. Thanks in advance.

  2. #2
    Registered User
    Join Date
    09-07-2018
    Location
    Quito
    MS-Off Ver
    2013
    Posts
    2

    Re: Lookup functions help to add specific rows

    Never mind, done it myself.

+ 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. Lookup Functions Processing Entire Columns/Rows
    By AndersonM in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-05-2016, 11:42 AM
  2. Help with IF Functions in displaying specific text from specific cells
    By Chuckchan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-30-2015, 04:19 PM
  3. Problem with specific "Lookup()" functions
    By mappleby811 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-25-2013, 11:43 AM
  4. Combining multiple functions>lookup/sum functions
    By mush106 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-22-2013, 07:47 AM
  5. Replies: 1
    Last Post: 04-20-2013, 02:45 PM
  6. [SOLVED] Help with multiple IF functions and possible lookup functions.
    By englishfellow in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-29-2013, 01:49 PM
  7. [SOLVED] Question about lookup functions autofilling spreadsheet rows
    By Zerex71 in forum Excel General
    Replies: 1
    Last Post: 07-26-2006, 10:30 AM

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