LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 171
Default Returning Cell Refrences/range Refrences

If the functions in the freely downloadable file at
http://home.pacbell.net/beban are available to your workbook, and
assuming your data is in a range named "dataRange", the following, array
entered into a vertical range sufficiently large to accommodate the
occurrences of "PORK", will return a vertical column of the cell
addresses of all occurrences:

=ArrayMatch("PORK",dataRange,"A")

Alan Beban

ksnapp < wrote:
I need a sub that searches a column and finds the first cell that says
"PORK", then it has to search fruther down and find the second instance
of "PORK" and give some form of cell refrence/ range reference that I
can plug into a furmula. (I can write that part, I hope). Then I need
it to do the same thing for each successive instance of "PORK." Each
time it says pork im gonna run different formulas in 3 or 4 cells to
the right using the range that the sub returns.

Is this possible?


---
Message posted from http://www.ExcelForum.com/


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto update remote refrences Rich[_2_] Excel Discussion (Misc queries) 0 November 21st 07 08:02 AM
Excel 2002 : How to avoid pasting incremental refrences ? Mr. Low Excel Discussion (Misc queries) 3 August 4th 07 03:46 PM
Static Cell Refrences in Formulas Ben Excel Discussion (Misc queries) 4 December 16th 05 12:11 AM
Automatic changing refrences to sheet corresponding to first day. Firebird Excel Discussion (Misc queries) 16 June 8th 05 10:41 PM
remote refrences ian Excel Programming 0 October 3rd 03 12:21 PM


All times are GMT +1. The time now is 01:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"