Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
im using the ctrl+F option....
i am searching within A1 to A4 and i would like for example to search for 2 (which is in A1) and -2 ( which is in A4 ) in the same time , is it possible ? thanks....... |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Did you try the find all option? it will show yuo both.
hth -- pleae click yes if it was helpfull regards from Brazil Marcelo "pierre" escreveu: im using the ctrl+F option.... i am searching within A1 to A4 and i would like for example to search for 2 (which is in A1) and -2 ( which is in A4 ) in the same time , is it possible ? thanks....... |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Nope.
Maybe you could use a macro or even a formula: Dim myCount1 as long dim myCount2 as long dim myRng as range with activesheet set myrng = .range("A1:A4") mycount1 = application.countif(myRng, 2) mycount2 = application.countif(myrng, -2) end with if mycount1 0 _ and mycount2 0 then msgbox "Both found!" else msgbox "at least one not found!" end if pierre wrote: im using the ctrl+F option.... i am searching within A1 to A4 and i would like for example to search for 2 (which is in A1) and -2 ( which is in A4 ) in the same time , is it possible ? thanks....... -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
It depends on the version of Excel you are using, the Find All option was added in 2002. Enter 2 in the Find what box, Uncheck Match entire cell contents Click Find All and look in the window below. You can select all the hits in the window by clicking the first entry and holding down the Shift key and clicking the last one. Then if you Close the window all the items will be selected in the spreadsheet. -- If this helps, please click the Yes button. Cheers, Shane Devenshire "pierre" wrote: im using the ctrl+F option.... i am searching within A1 to A4 and i would like for example to search for 2 (which is in A1) and -2 ( which is in A4 ) in the same time , is it possible ? thanks....... |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you meant that you wanted to search for 2 and -2 at the same time, the answer
is no. But you can search for 2 and find all occurrences of 2 (if you don't check "match entire cell contents" under the Options buttons). This will also find the cell with 1234523 in it. Dave Peterson wrote: Nope. Maybe you could use a macro or even a formula: Dim myCount1 as long dim myCount2 as long dim myRng as range with activesheet set myrng = .range("A1:A4") mycount1 = application.countif(myRng, 2) mycount2 = application.countif(myrng, -2) end with if mycount1 0 _ and mycount2 0 then msgbox "Both found!" else msgbox "at least one not found!" end if pierre wrote: im using the ctrl+F option.... i am searching within A1 to A4 and i would like for example to search for 2 (which is in A1) and -2 ( which is in A4 ) in the same time , is it possible ? thanks....... -- Dave Peterson -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to make Ctrl-C, ctrl-V work in Office 2007 | Excel Discussion (Misc queries) | |||
Excel 2007: Ctrl+PgUp or Ctrl+PgDn with Protected Sheets | Excel Discussion (Misc queries) | |||
use CTRL key inside a macro IE CTRL + ; | Excel Worksheet Functions | |||
Anyone having Ctrl+C / Ctrl+V problems in E2007? | Excel Discussion (Misc queries) | |||
How to forbid ctrl+c and ctrl+X in sheet? | Setting up and Configuration of Excel |