Results 1 to 5 of 5

Thread: Help needed in excel

Hybrid View

  1. #1

    Thread Starter
    Hyperactive Member csKanna's Avatar
    Join Date
    Dec 2005
    Location
    Tech-Tips-Now.com
    Posts
    339

    Help needed in excel

    Hi,

    help needed in excel
    Code:
          ColA       ColB      ColC
    1     Apple1     Jan       4562
    2     Apple2     Jan       413
    3     Apple3     Feb       12
    4     Banana1    Jan       4654
    5     Banana2    March     4562
    6     Banana3    Jan       413
    7     grape1     Jan       1432
    I want to sum up data with region like Apple and month equal to jan
    Ex: sum of all Apple like and jan = 4975

    or is there any function avalaible that i can use instead of sumif?

    thanks in advance.

    Kanna

  2. #2

    Thread Starter
    Hyperactive Member csKanna's Avatar
    Join Date
    Dec 2005
    Location
    Tech-Tips-Now.com
    Posts
    339

    Re: Help needed in excel

    I have a big list. I am not sure how can i achieve that using sumproduct().

    Please help me on that.

  3. #3

    Thread Starter
    Hyperactive Member csKanna's Avatar
    Join Date
    Dec 2005
    Location
    Tech-Tips-Now.com
    Posts
    339

    Re: Help needed in excel

    thanks. But I want to calculate the sum for all region starts with Apple.

  4. #4
    Frenzied Member DKenny's Avatar
    Join Date
    Sep 2005
    Location
    on the good ship oblivion..
    Posts
    1,171

    Re: Help needed in excel

    I would recommend using an Array Formula to do this

    Copy this formula into any cell on your worksheet and rather than just pressing Enter, press Ctrl&Shift&Enter.
    The formula should then show in the formula bar surrounded by curly brackets (note: manually typing in the '{'s will not work.

    Code:
    =SUM((C1:C7)*(B1:B7="Jan")*(LEFT(A1:A7,5)="Apple"))
    I have attached an example
    Attached Files Attached Files
    Declan

    Don't forget to mark your Thread as resolved.
    Take a moment to rate posts that you think are helpful

  5. #5
    Frenzied Member DKenny's Avatar
    Join Date
    Sep 2005
    Location
    on the good ship oblivion..
    Posts
    1,171

    Re: Help needed in excel

    This piece of the code looks for all instances of apple, regardless of any suffix.
    Code:
    LEFT(A1:A7,5)="Apple"
    Declan

    Don't forget to mark your Thread as resolved.
    Take a moment to rate posts that you think are helpful

Posting Permissions

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



Click Here to Expand Forum to Full Width