Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / March 2008

Tip: Looking for answers? Try searching our database.

HLOOKUP copied across rows with "row index number" changing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KUMPFfrog - 12 Mar 2008 20:00 GMT
I have a workbook that I use to keep track of individulas time worked on
specific jobs. One sheet per person.  On anygiven sheet, I have a list of
jobs in Column A and hours worked on these jobs entered in following columns
with the "weeks end" date as the column heading.  At the end of each month I
need to invoice and wanted to see the totals for a selected month.  Because
of the nesting limits - I could not use the IF function.  So here is how I
went about it:
I created a range off to the far right of my sheet (which will be hidden).  
Headings are the months - January thru December.  Under those months - I sum
the columns for the given month relative to the job in column A. I want to
see month totals in Column B.  B1 contains the drop down list where I choose
the month I want to see.
Starting in B5, I entered  =HLOOKUP($B$1,$BV$2:$CG$65536,4) where 4 is the
same row as B5 where I entered the formula.  Now I want to copy the formula
down the rows with that "4" (row index number) increaseing as I go.

Thanks,
PCLIVE - 12 Mar 2008 20:37 GMT
One way:

=HLOOKUP($B$1,$BV$2:$CG$65536,ROW()-1)

or
=HLOOKUP($B$1,$BV$2:$CG$65536,ROW(B5)-1)

HTH,
Paul

>I have a workbook that I use to keep track of individulas time worked on
> specific jobs. One sheet per person.  On anygiven sheet, I have a list of
[quoted text clipped - 19 lines]
>
> Thanks,
RagDyer - 12 Mar 2008 20:43 GMT
Use Rows()

=HLOOKUP($B$1,$BV$2:$CG$65536,Rows($1:4))

Will start at 4, no matter where it's entered.
Signature

HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

>I have a workbook that I use to keep track of individulas time worked on
> specific jobs. One sheet per person.  On anygiven sheet, I have a list of
[quoted text clipped - 19 lines]
>
> Thanks,
KUMPFfrog - 13 Mar 2008 16:15 GMT
Thanks,
If you think there is a better way I could have gone about the whole thing -
I love to learn new ways of doing things.

> Use Rows()
>
[quoted text clipped - 24 lines]
> >
> > Thanks,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.