+ Reply to Thread
Results 1 to 3 of 3

sum multiple cells in the same row that are in colums with the same fieldname

  1. #1
    Registered User
    Join Date
    09-13-2012
    Location
    United kingdom of great britain
    MS-Off Ver
    Excel 2007
    Posts
    2

    sum multiple cells in the same row that are in colums with the same fieldname

    i have a worksheet with many columns Some of the columns have the same heading ("DaySum").
    HLOOKUP only ever returns a single cell (the first in a table array) but i need it to find and add ALL of the numbers under the heading "DaySum" on any given line.

    In this scenario, there are three columns with the title DaySum (L1, T1, AB1, AJ1) if am putting the formula into row say, for example, I would like it to look for any numbers in

    I want a formula that searched for "DaySum" and is not searching for data specified columns because I have over 50 projects and for each one, DaySum sits in different columns 9there are 2 worksheets on the attached file to show what I mean!)

    Heeeelllp!
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: sum multiple cells in the same row that are in colums with the same fieldname

    Assuming formula wanted in AP2, Try:

    =SUMIF($C$1:$AO$1,"DaySum",$C2:$AO2)

    copied down
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-13-2012
    Location
    United kingdom of great britain
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: sum multiple cells in the same row that are in colums with the same fieldname

    brilliant - you are a genius!......I spent hours trying to get this to work before my cry for help...thank you SO much

+ 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