I am having a big problem with trying to count some data. I have two colums, one contains names and the other contains items. (I couldn't get the HTML add-in to work properly so you will have to bear with me)
Example:
..A..................B
John.............Apple
Jim..............Orange
John............Orange
Bill...............Apple
John.............Apple
Jim..............Orange
I need a formula that can tell me how many apples and oranges one person has:
..A......................B.........................C
.......................Apples................Oranges
Bill......................1.........................0
Jim.....................0.........................2
John...................2 .........................1
I have tried a few differnt ways with no luck... I just want it to look in column A for John's name and when it finds it I need it to count if there is an apple. They way I have my table set up is I only need each column to look for one thing, if it sees "apple" count 1 if not then 0... There would be another formula for the "oranges" to do the same thing.
Hope this makes sense and someone might have some suggestions.
Thanks
Example:
..A..................B
John.............Apple
Jim..............Orange
John............Orange
Bill...............Apple
John.............Apple
Jim..............Orange
I need a formula that can tell me how many apples and oranges one person has:
..A......................B.........................C
.......................Apples................Oranges
Bill......................1.........................0
Jim.....................0.........................2
John...................2 .........................1
I have tried a few differnt ways with no luck... I just want it to look in column A for John's name and when it finds it I need it to count if there is an apple. They way I have my table set up is I only need each column to look for one thing, if it sees "apple" count 1 if not then 0... There would be another formula for the "oranges" to do the same thing.
Hope this makes sense and someone might have some suggestions.
Thanks