Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
=SUM(SUMIF(B1:B5,{"Breakfast","Lunch","Dinner"},C1 :C5))
-- HTH RP (remove nothere from the email address if mailing direct) "Lewis Koh" wrote in message ... Lewis Koh Wrote: A B C 1 Breakfast $13.50 2 water $1.10 3 Lunch $80.00 4 others $13.90 5 Dinner $4 Hmm...now I wanted to catogorized breakfast,lunch and dinner as food. I tried B6=SUMIF(B1:B5,OR("breakfast","Lunch","Dinner"),C1 :C5). The logic seems to be allowable but it couldn't add up to the correct amount. It always shows "0". May I know if I have typed something wrong? -- Lewis Koh ------------------------------------------------------------------------ Lewis Koh's Profile: http://www.excelforum.com/member.php...o&userid=25712 View this thread: http://www.excelforum.com/showthread...hreadid=391279 |
#2
![]() |
|||
|
|||
![]() Thanks guys!!! It works!! :) -- Lewis Koh ------------------------------------------------------------------------ Lewis Koh's Profile: http://www.excelforum.com/member.php...o&userid=25712 View this thread: http://www.excelforum.com/showthread...hreadid=391279 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Stock Location Sorting Problem | Excel Discussion (Misc queries) | |||
How do I color specific data series based on location on data she | Charts and Charting in Excel | |||
how do I draw a line in a chart at a specific location | Charts and Charting in Excel | |||
hyperlink an excel cell to a specific location wthin application f | New Users to Excel | |||
hyperlink an excel cell to a specific location wthin application f | Excel Discussion (Misc queries) |