+ Reply to Thread
Results 1 to 2 of 2

Certain words from two different cells need to match to get total

  1. #1
    Registered User
    Join Date
    09-10-2013
    Location
    u.s.a
    MS-Off Ver
    excel 2010
    Posts
    33

    Certain words from two different cells need to match to get total

    Hi I'm not sure if I'm putting this down correctly or if I even make sense. But here goes.

    In the attachment, column P of worksheet titled "2016 AOP", should equal the number in column F of the worksheet titled "2015 actuals" if two conditions are met. Condition 1) the 1st four characters of column A worksheet "2015 actuals" must match the 1st four characters of column A worksheet "2016 AOP". Condition 2) the 1st three characters of column B worksheet "2015 actuals" must match column C worksheet "2016 AOP".
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Certain words from two different cells need to match to get total

    Hi thanhie,

    I created two "helper" columns, one on each sheet and then did this problem using an Index Match combination. To do the "if conditions are met" part was a simple IfError function. Here it is:

    =IFERROR(INDEX('2015 Actuals'!$F$1:$F$57,MATCH(V2,'2015 Actuals'!$K$1:$K$57,0)),"")

    See the attached for the answer.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say 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. Multiply the cells to match with the total
    By rabbar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-17-2014, 05:53 PM
  2. [SOLVED] Lookup,match few cells and return with customised words
    By ec4excel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-26-2014, 07:20 AM
  3. [SOLVED] total value of letters from words in cells
    By teacher2013 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-02-2013, 01:32 PM
  4. Help! Count how many words in a sentence match a dictionary of words
    By sonyaelis in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-06-2013, 05:31 AM
  5. Replies: 1
    Last Post: 04-04-2012, 07:15 PM
  6. Compare words between two cells for percentage match
    By lkuchel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-22-2010, 07:06 PM
  7. Match words in cells
    By AndyTheAnimal in forum Excel General
    Replies: 8
    Last Post: 08-11-2010, 10:33 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