ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Multiple info on one cell needs to be seperated???? (https://www.excelbanter.com/excel-discussion-misc-queries/154705-multiple-info-one-cell-needs-seperated.html)

HoganD87

Multiple info on one cell needs to be seperated????
 
EXTREMELY IMPORTANT!

Okay, So I have a contractors colomn for each job that is being done. I HAVE
to put multiple companies on ONE cell but when I graph it they need to be
seperated individually.

example.

"SPREADSHEET"
DATE JOB CONTRACTOR
1/1 1 A
1/2 2 B,A,C
1/3 3 C

when I graph how many time each contractor is used its...

"MY UNWANTED GRAPH"
contractor A.... 1 time
contractor B, A, C... 1 time
contractor C... 1 time


How, if at all possible can I make it...

"WHAT I WANT"
contractor A... 2 times
contractor B... 1 time
contractor C... 2 times





Roger Nye

Multiple info on one cell needs to be seperated????
 
You could try:
=SUM(IF(ISNUMBER(FIND(<cell with A, <range with contractor list)), 1, 0))
then use Shift+Ctrl+Enter for a range function.
This will count the number of cells containing A at least once.
However, it will go wrong if contractors' names are sub-sets of others.
So if you have a contractor called A and another called AA, A may be counted
too often.

Regards
Roger


"HoganD87" wrote:

EXTREMELY IMPORTANT!

Okay, So I have a contractors colomn for each job that is being done. I HAVE
to put multiple companies on ONE cell but when I graph it they need to be
seperated individually.

example.

"SPREADSHEET"
DATE JOB CONTRACTOR
1/1 1 A
1/2 2 B,A,C
1/3 3 C

when I graph how many time each contractor is used its...

"MY UNWANTED GRAPH"
contractor A.... 1 time
contractor B, A, C... 1 time
contractor C... 1 time


How, if at all possible can I make it...

"WHAT I WANT"
contractor A... 2 times
contractor B... 1 time
contractor C... 2 times






All times are GMT +1. The time now is 04:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com