Results 1 to 5 of 5

Better Formula to Get Data Across Three Columns

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    02-26-2010
    Location
    Chattanooga, TN
    MS-Off Ver
    Excel 2003/2007/2010/2016
    Posts
    432

    Better Formula to Get Data Across Three Columns

    Hello! This one has me stumped. I have a clunky formula that works, but I know there is something better:


    Column A values: only "A", "B", "C", but no particular pattern down the column (ABBBAAACCACB, etc.)
    Column B values: only "Add" "Increase" "Grow" "Subtract" "Remove" "Shrink"
    Column C: Just numbers (all 10's for this example).

    Task: For all the B's in Column A (for example), do what the B column says using the number in Column C.

    I have this formula in E4 for the A result, but it's really wordy:

    =SUMIFS(C2:C14, B2:B14, "Add", A2:A14, "A") +SUMIFS(C2:C14, B2:B14, "Increase", A2:A14, "A")+SUMIFS(C2:C14, B2:B14, "Grow", A2:A14, "A")-SUMIFS(C2:C14, B2:B14, "Subtract", A2:A14, "A")-SUMIFS(C2:C14, B2:B14, "Remove", A2:A14, "A")-SUMIFS(C2:C14, B2:B14, "Shrink", A2:A14, "A")

    Sample attached.

    I'd appreciate any help from the pros for shortening this up. Thanks!

    Regards, Leaning
    Attached Files Attached Files
    Last edited by leaning; 02-17-2015 at 07:11 PM. Reason: wording

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 05-22-2014, 08:10 AM
  2. Replies: 9
    Last Post: 05-20-2014, 07:52 PM
  3. Formula to reproduce data from columns into new columns without #N/A
    By haralds in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-29-2014, 09:47 AM
  4. [SOLVED] Is a there a lookup formula I can use to match data from multiple columns of data?
    By missydanni in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-29-2013, 08:27 AM
  5. Replies: 1
    Last Post: 02-13-2013, 03:37 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