Summing formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can someone help me please?

I know pivots tables will provide this information but they are to memory
intensive.

I want to be able sum the figures in a column if another column meets a text
value in that same row.

Orange, 2
Lemon, 4
Apple, 7
Peach, 3
Orange, 5

So I get a SUM result for Oranges as 7

Thanks
 
Hi Mark,

Try using =SUMIF

The syntax is =SUMIF(Range to find the criteria, the criteria, range to
find the quantity)

In your case this might be =SUMIF(A1:A4,"Orange",B1:B4)

Note the quotes arange the criteria

Hope this helps,

regards
 
Many thanks
--
Mark


Phil said:
Hi Mark,

Try using =SUMIF

The syntax is =SUMIF(Range to find the criteria, the criteria, range to
find the quantity)

In your case this might be =SUMIF(A1:A4,"Orange",B1:B4)

Note the quotes arange the criteria

Hope this helps,

regards
 
Mark,
In column A, starting with A4:
Orange, Lemon, Apple, Peach, Orange
In column B, starting with B4:
2, 4, 7, 3, 5
In column C, starting with C4:
"=Vlookup(A5,A4:B9,2,True)" without ""
This will total 7 Oranges in the first cell.
HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top