Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Thanks for any help (but make it simple please) I need to know how many times a item is listed. A1 Bread A2 Bread A3 Bread A4 Milk A5 Sugar A6 Sugar How many times are bread, milk, and sugar listed? This will be for finding out how many times inventory items were purchased. -- sabegirl ------------------------------------------------------------------------ sabegirl's Profile: http://www.excelforum.com/member.php...o&userid=33982 View this thread: http://www.excelforum.com/showthread...hreadid=553000 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=COUNTIF(A:A,"Bread ")
=COUNTIF(A:A,"Milk ") =COUNTIF(A:A,"Sugar ") Hope it may help. Best Regards Bluesky "sabegirl" wrote: Thanks for any help (but make it simple please) I need to know how many times a item is listed. A1 Bread A2 Bread A3 Bread A4 Milk A5 Sugar A6 Sugar How many times are bread, milk, and sugar listed? This will be for finding out how many times inventory items were purchased. -- sabegirl ------------------------------------------------------------------------ sabegirl's Profile: http://www.excelforum.com/member.php...o&userid=33982 View this thread: http://www.excelforum.com/showthread...hreadid=553000 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() =COUNTIF(A1:A6,"bread") etc Edit: Doh! beaten at the post -- Mallycat ------------------------------------------------------------------------ Mallycat's Profile: http://www.excelforum.com/member.php...o&userid=35514 View this thread: http://www.excelforum.com/showthread...hreadid=553000 |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi Sabegirl, Try using Countif. If you make a table like below you can refer to the cell reference =COUNTIF($A$1:$A$6,C1) C1 "Bread" D1 =COUNTIF($A$1:$A$6,C1) C2 "Milk" D2 =COUNTIF($A$1:$A$6,C2) C3 "Milk" D3=COUNTIF($A$1:$A$6,C3) Note use F4 to add the $ so when you drag the formula down the range stays absolute otherwise just type in the word in a cell and replace the cell ref with "Bread" =COUNTIF($A$1:$A$6,"Bread") Hope this helps VBA Noob -- VBA Noob ------------------------------------------------------------------------ VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833 View this thread: http://www.excelforum.com/showthread...hreadid=553000 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Running a Macro a number of times | Excel Discussion (Misc queries) | |||
sorting multiple minimum times | Excel Discussion (Misc queries) | |||
Delete rows listed less than 8 times??? | Excel Worksheet Functions | |||
Charting and analyzing Times' times data for trends | Excel Discussion (Misc queries) | |||
SUMPRODUCT ON TIMES | Excel Worksheet Functions |