Woodpile
New Member
- Joined
- Sep 14, 2007
- Messages
- 38
- Office Version
- 365
- 2016
- Platform
- Windows
Hello all,
I am hoping this can be done. I have tried to configure every combination I can think of but I am not skilled enough with Excel to figure it out.
Here is the situation:
I have a range of cells (C2:N156) with data in them. This data is a 3-digit number in each cell (stored as text because of leading zeroes) and I would like to create a simple chart totaling how many times of each single digit appears.
I have used the LEFT, MID and RIGHT functions to separate out this information before but I need to do it on a larger scale. I am hoping there is a way to combine COUNTIF and LEFT/MID/RIGHT in a range of cells.
I hope I am explaining this well enough. What I tried was something like this =COUNTIF(C2:N156, ((LEFT, 1) =1)), hoping it would return the number of times "1" appears in the first position in each cell in the range C2:N156. From there I can adjust the formula to meet the other 9 possible digits and the other two positions.
I tried variations on this theme and it appears LEFT in the example above cannot be qualified to a single value.
Overall, I am trying to create a graph showing the distribution of each digit to prove randomness. The data is from a raffle-type fundraiser I run for a non-profit organization I belong to. This raffle is licensed through the state and if I am audited, I would like to easily prove our method for drawing the numbers is truly random.
Thanks, at least, for reading this far. I am hoping the Excel gurus here can help!
Ed
I am hoping this can be done. I have tried to configure every combination I can think of but I am not skilled enough with Excel to figure it out.
Here is the situation:
I have a range of cells (C2:N156) with data in them. This data is a 3-digit number in each cell (stored as text because of leading zeroes) and I would like to create a simple chart totaling how many times of each single digit appears.
I have used the LEFT, MID and RIGHT functions to separate out this information before but I need to do it on a larger scale. I am hoping there is a way to combine COUNTIF and LEFT/MID/RIGHT in a range of cells.
I hope I am explaining this well enough. What I tried was something like this =COUNTIF(C2:N156, ((LEFT, 1) =1)), hoping it would return the number of times "1" appears in the first position in each cell in the range C2:N156. From there I can adjust the formula to meet the other 9 possible digits and the other two positions.
I tried variations on this theme and it appears LEFT in the example above cannot be qualified to a single value.
Overall, I am trying to create a graph showing the distribution of each digit to prove randomness. The data is from a raffle-type fundraiser I run for a non-profit organization I belong to. This raffle is licensed through the state and if I am audited, I would like to easily prove our method for drawing the numbers is truly random.
Thanks, at least, for reading this far. I am hoping the Excel gurus here can help!
Ed