I need to have a total cell for a large spreadsheet I'm working on (150+lines
of data). I need to put in a formula that will add the amount in Column B if
the word in the Column A says "Retail".
Example:
A B
Retail 10,950
Storage 6,500
Retail 5,000
Retail 4,000
Storage 3,500
Total Retail Amount
Total Storage Amount
Relatively new to Excel, so any help would be greatly appreciated!!!
Reitanos - 07 May 2008 17:23 GMT
Try
=SUMIF(A2:B1000,"Retail",B2:B1000)
The first argument is the range of data
The second is the the text to target
The third is the part of the data to be used in the sum
On May 7, 12:04 pm, Maggie0507 <Maggie0...@discussions.microsoft.com>
wrote:
> I need to have a total cell for a large spreadsheet I'm working on (150+lines
> of data). I need to put in a formula that will add the amount in Column B if
[quoted text clipped - 12 lines]
>
> Relatively new to Excel, so any help would be greatly appreciated!!!
Maggie0507 - 07 May 2008 18:41 GMT
Thank you - worked like a charm!
> Try
> =SUMIF(A2:B1000,"Retail",B2:B1000)
[quoted text clipped - 21 lines]
> >
> > Relatively new to Excel, so any help would be greatly appreciated!!!
Don Guillett - 07 May 2008 17:24 GMT
Look in the help index for SUMIF

Signature
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com
>I need to have a total cell for a large spreadsheet I'm working on
>(150+lines
[quoted text clipped - 14 lines]
>
> Relatively new to Excel, so any help would be greatly appreciated!!!
Peo Sjoblom - 07 May 2008 17:27 GMT
=SUMIF(A1:A100,"Retail",B1:B100)

Signature
Regards,
Peo Sjoblom
>I need to have a total cell for a large spreadsheet I'm working on
>(150+lines
[quoted text clipped - 14 lines]
>
> Relatively new to Excel, so any help would be greatly appreciated!!!
Maggie0507 - 07 May 2008 18:42 GMT
Thank you - that was what I needed!
> =SUMIF(A1:A100,"Retail",B1:B100)
>
[quoted text clipped - 16 lines]
> >
> > Relatively new to Excel, so any help would be greatly appreciated!!!