|
| ||||||||||
| Tags: excel, find, formula, next value |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Formula to find next value in row in MS Excel
I have windows XP installed on my desktop with MS Office 2007. I m looking for a formula or macro to find next value in row in MS Excel. Anyone have any idea? All suggestions are welcome. |
|
#2
| ||||
| ||||
| Re: Formula to find next value in row in MS Excel
Try this: Sub test() Dim rngFound As Range Dim rngToSearch As Range Dim strFirstAddress As String Set rngToSearch = Sheets("Sheet1").Columns("A") Set rngFound = rngToSearch.Find(What:="Account Category:*", _ LookAt:=xlWhole, _ LookIn:=xlValues, _ MatchCase:=False) If rngFound Is Nothing Then MsgBox "Sorry... Not Found" Else strFirstAddress = rngFound.Address Do rngFound.Select MsgBox rngFound.Value & " found at " & rngFound.Address Set rngFound = rngToSearch.FindNext(rngFound) Loop Until strFirstAddress = rngFound.Address End If End Sub |
|
#3
| ||||
| ||||
| Re: Formula to find next value in row in MS Excel
You can do it by selecting the data on you worksheet. Follow these steps:
|
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Formula to find next value in row in MS Excel" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need formula help for MS Excel | RlyPlyPanda | MS Office Support | 1 | 08-05-2012 01:46 PM |
| What is the formula to find Relative Percent Difference in Microsoft Excel | LuniA | MS Office Support | 2 | 23-02-2012 01:56 PM |
| How to create formula to find relative percent difference in Excel | Aarti C | Windows Software | 1 | 06-01-2012 07:38 PM |
| Which Excel formula can help to find 4 digit combination using the numbers 0 to 9 | Regan | Windows Software | 6 | 31-12-2011 04:42 PM |
| Excel Formula | Scott2580 | MS Office Support | 2 | 15-02-2011 01:21 PM |