Alternating Columns
Manage your personal finances in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 6 of 6

Thread: Alternating Columns

  1. #1
    Board Regular Brian from Maui's Avatar
    Join Date
    Feb 2002
    Posts
    8,445
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    Aloha All!

    I have text and data in alternating columns.
    Is there a formula such as SUMIF to search for a criteria in columns with text and sum the next cell to it with data? The range and sum range are identical. Is this possible?

    Brian

  2. #2
    New Member
    Join Date
    Feb 2002
    Posts
    47
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    You want to use an array formula. They are pretty easy.

    Search the web site for CSE formulas. There is a great write up and examples

  3. #3
    Board Regular
    Join Date
    Feb 2002
    Location
    Georgia USA
    Posts
    569
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    =SUMIF(F2:F230,"data",E2:E230) Sums E2:E230 if data is in F2:F230

  4. #4
    Guest

    Default

    Aloha!

    Here's a short sample of the text and data

    A B C D E F G H
    ot 4 st 8 dt 4 ot 4

    I would like to search for ot and sum 4 under columns B and H.

    Brian

  5. #5
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,803
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    1 Thread(s)

    Default

    On 2002-02-23 19:05, Anonymous wrote:
    Aloha!

    Here's a short sample of the text and data

    A B C D E F G H
    ot 4 st 8 dt 4 ot 4

    I would like to search for ot and sum 4 under columns B and H.

    Brian
    Aloha,

    Come on Brian -- you should know by now the syntax of SUMIF

    Thus, either

    =SUMIF(A:A,"ot",B:B)+SUMIF(G:G,"ot",H:H)

    or, using fixed ranges,

    =SUMIF(A2:A10,"ot",B2:B10)+SUMIF(G2:G10,"ot",H2:H10)

    There is no way you can get rid of +. That is, a single SUMIF won't do.

    Aladin

  6. #6
    Board Regular Brian from Maui's Avatar
    Join Date
    Feb 2002
    Posts
    8,445
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Aladin,

    I thought they'd be a shorter way! I have 15 columns of text and 15 columns of data by about a 100 rows. I guess I'll have to reformat the spreadsheet or do the + 15 times. As always Aladin, much Mahalos!!

    Brian

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com