MDP420 said:
I have a spreadsheet with a series of values (140.0, 140.2 etc) and I
want to locate and isolate all cells ending in '.0'
When I search for cells with this value using CTRL F however, it
doesn't recognise .0 or *.0 or ?.0
....
If these are numbers simply formatted with a single decimal to the
right of the decimal point, then the '.0' is only part of the cell's
display, not it's value or formula. Excel's Edit > Find can only
search through cells' values or formulas, not what they display.
You could use macros to locate such cells in the selected range or
active worksheet. There's also a way to select all such cells, if
that's of any use.
1. Insert a blank worksheet just before or just after the worksheet
you want to search. That blank worksheet will then be active.
2. Activate the worksheet you want to search.
3. Hold down a [Shift] key and click on the tab for the blank
worksheet you added. The worksheet you want to search should still be
the active worksheet, but the other worksheet should also be selected.
4. Select the range you want to search. Both worksheets should be
selected, so Excel selects the same range in the blank worksheet.
5. Click on the blank worksheet's tab. That should activate the blank
worksheet AND unselect the worksheet you want to search.
6. If the first cell in the selected range were B3, type a formula
like =1/(OtherSheet!B3=INT(OtherSheet!B3)) and press [Ctrl]+[Enter].
This will enter similar formulas in all selected cells, where similar
means the same as if you had copied cell B3 and pasted the formula
into all other selected cells.
7. Hold down a [Shift] key and click on the tab for the worksheet you
want to search. The formerly blank worksheet should still be active
and the range of newly entered formulas still selected, but the
worksheet you want to search should now also be selected.
8. Press [F5] to display the Go To dialog, click on the Special...
button, select Formulas and uncheck all options below it EXCEPT
Numbers, and click OK. Only cells containing numbers should be
selected, and those correspond to cells containing integers (i.e.,
with fractional part .0) in the worksheet you want to search. Excel
will select the same cells in the worksheet you want to search.
9. Click on the tab for the worksheet you want to search to activate
it and deselect the formerly blank worksheet. The cells containing
integers should all be selected, though the selection may span many
different areas.