+ Reply to Thread
Results 1 to 2 of 2

Using SUMIF across multiple columns

  1. #1
    Registered User
    Join Date
    03-13-2010
    Location
    Bedfordshire, England
    MS-Off Ver
    Excel 2010
    Posts
    60

    Using SUMIF across multiple columns

    I am using this code to look at a column and if it contains "READING" it will look for the corresponding position in CJ117 to CJ156 and add them all up.

    Please Login or Register  to view this content.
    The problem is that the word "READING" could appear cross eight columns, BS to BZ. I've had mixed success with the following formula, sometimes it works and sometimes it does'nt but I can't work out why. Is there a better way of doing it.

    Please Login or Register  to view this content.

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

    Re: Using SUMIF across multiple columns

    Try:

    =SUMPRODUCT(($BS$6:$BZ$45="READING")*(CJ$117:CJ$156))
    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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