finding each blank in a cell

oldbrewer

Well-known Member
Joined
Apr 11, 2010
Messages
11,012
I am trying to find the location of all the blanks in a cell - the cell is woooord1 thru to word12 below
blankblankblankblankblankblankblankblankblankblankblank
1234567891011
charactersblankswords917171717171717173434
woooord1 worddd2 wwwwwwwwwwwword3 word4 word5 word6 word7 word8 word9 word10 word11 word12901112
formula in first results cell which correctly gives 9 is =FIND(" ",$D$8,FIND(" ",$D$8)+I6-1)
this cell is I7 and has been copied across
the sentence is in D8
the second blank is correctly found
third and subsequent blanks are not found
can anybody tell me why please?

<colgroup><col><col span="2"><col><col><col><col><col span="10"></colgroup><tbody>
</tbody>
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Just enter =FIND(" ", $A$3, B3 + 1) into Cell B3 and copy across. Try and see if it works.

Edit:
Sorry! Enter formula in C3 and copy across. It worked in the file you uploaded.

I got 3 as the position of the first blank, then 7 for the next and 11 for the next. Is that not what you wanted?
 
Last edited:
Upvote 0
your file you uploaded had the words and blanks in A3. If you change then the formula changes and noone knows what you're doing. download the same file you upload and put =FIND(" ", $A$3, B3 + 1) in cell C3 and copy across. If that doesn't work then I am at a loss to help tou furtheer.
 
Upvote 0
the file i uploaded has words in cell A3, and I am trying to find the position of every blank. I tried your suggestion and got an error flag. A2 is where I am defining which blank to look for. But many thanks for joining in it is driving me wacky.
 
Upvote 0
Its working for me too.

*Note: There is a " " in position 1.


Excel 2010
ABCDEFG
1
2Blank 1Blank 2Blank 3Blank 4Blank 5
3aa aaa aa aaa aa a aaa aaa145912
4=FIND(" ", $A$3, B3+1 )=FIND(" ", $A$3, C3+1 )=FIND(" ", $A$3, D3+1 )=FIND(" ", $A$3, E3+1 )=FIND(" ", $A$3, F3+1 )
Sheet3
 
Upvote 0

Forum statistics

Threads
1,215,337
Messages
6,124,340
Members
449,155
Latest member
ravioli44

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top