Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
Is there a good way to search from the bottom of a spreadsheet? Also, is it possible to search for more than one thing in a row? I want to find a row based on it containing two different values in two different cells. Thanks, Josh |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can search from the bottom up with VBA. For the other question, you can
use Data - Filter - Advanced Filter to find all instances of one row having the two values you specify. Note that this procedure finds ALL instances, not the last one or the first from the bottom. HTH Otto "Josh" wrote in message oups.com... Hello, Is there a good way to search from the bottom of a spreadsheet? Also, is it possible to search for more than one thing in a row? I want to find a row based on it containing two different values in two different cells. Thanks, Josh |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
lastrow = cells(rows.count,1).End(xlup).row
for i = lastrow to 1 step -1 if cells(i,"B") = "House" and cells(i,"M") = "dog" then end if Next -- Regards, Tom Ogilvy "Josh" wrote: Hello, Is there a good way to search from the bottom of a spreadsheet? Also, is it possible to search for more than one thing in a row? I want to find a row based on it containing two different values in two different cells. Thanks, Josh |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Searching for #N/A | Excel Worksheet Functions | |||
Searching, matching then searching another list based on the match | Excel Discussion (Misc queries) | |||
Advanced Conditional Formatting Ideas Needed! (ok, maybe not that advanced...) | Excel Discussion (Misc queries) | |||
searching for tab | Excel Discussion (Misc queries) | |||
searching | Excel Worksheet Functions |