LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default How to get Col and Row returned in an hLookup?

I have a table with the Period horizontally across the first row and then 8
lines of Budget items below the Period.
I can do an hLookup and it returns the correct column but it is showing the
data, (Budget) not the R1C1.
i.e varGroupStart = Application.WorksheetFunction.HLookup(i,
Range("Project_BudgetAllocation_FullRange"), 2, False)
When I look at varGroupStart it shows "279,186".

How do I get it to tell me it is H20?

I need this because then I do an offset :

varGroupStart.Select
varGroupEnd = ActiveCell.Offset(8, i)

in order to select and copy the values.

Thanks for your advice.

Rick

 
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
#N/A value is returned Sai Excel Worksheet Functions 7 July 15th 07 11:05 PM
How to see columns from which values were not returned by HLOOKUP functions? Dmitry Kopnichev Excel Worksheet Functions 1 October 14th 05 12:04 AM
How to see columns from which values were not returned by HLOOKUP functions? Dmitry Kopnichev Excel Programming 1 October 14th 05 12:04 AM
#Value! Returned ? John Excel Worksheet Functions 2 December 6th 04 08:55 PM
#Ref! Returned KRCowen Excel Programming 1 December 4th 04 08:16 AM


All times are GMT +1. The time now is 07:01 AM.

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

About Us

"It's about Microsoft Excel"