Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kollizion
 
Posts: n/a
Default Offset And Vlookup Combo Help!!


HI, Ive been struggling with this for a while, so i need some help. It
has to be a simple answer that i cant seem to be grasping, so call me
retarted. Ok, here goes.....

I have an array on a worksheet that is formatted like so....

day rate price
75 4.500 95.125
75 4.625 96.254
75 4.750 96.897
60 4.250 97.587
60 4.375 98.131
60 4.500 99.005
45 4.250 96.158
45 4.375 97.574
45 4.500 98.586

Then on another worksheet i have some columns sorted like so....

col1 col2 col3 col4
Rate 45 60 75
4.250
4.375
4.500
4.625
4.750

Ok, i am trying to do a lookup for each rate, and then show the
corresponding price, but to lookup based on the # of days. I know I
can do a VLOOKUP by using an array for each group of prices and their
corresponding days, but im wondering if there is a way to combine the
OFFSET with the VLOOKUP with an IF function so that only return the
price IF its 45 and the rate is whatever is on that row.

Have i confused anyone yet?? haha

Please help!!

Thanks!!


--
kollizion
------------------------------------------------------------------------
kollizion's Profile: http://www.excelforum.com/member.php...o&userid=22274
View this thread: http://www.excelforum.com/showthread...hreadid=400015

  #2   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

Consider your first table in range A1:C9 (without the headers, only values)

Consider you have 4.25, 4.375 in cells A13 downwards, and 45, 60, 75 from
B12 to the right, then use:
=SUMPRODUCT(--($B$1:$B$9=$A13),--($A$1:$A$9=B$12),$C$1:$C$9)
and copy to the full table.

Mangesh





"kollizion" wrote
in message ...

HI, Ive been struggling with this for a while, so i need some help. It
has to be a simple answer that i cant seem to be grasping, so call me
retarted. Ok, here goes.....

I have an array on a worksheet that is formatted like so....

day rate price
75 4.500 95.125
75 4.625 96.254
75 4.750 96.897
60 4.250 97.587
60 4.375 98.131
60 4.500 99.005
45 4.250 96.158
45 4.375 97.574
45 4.500 98.586

Then on another worksheet i have some columns sorted like so....

col1 col2 col3 col4
Rate 45 60 75
4.250
4.375
4.500
4.625
4.750

Ok, i am trying to do a lookup for each rate, and then show the
corresponding price, but to lookup based on the # of days. I know I
can do a VLOOKUP by using an array for each group of prices and their
corresponding days, but im wondering if there is a way to combine the
OFFSET with the VLOOKUP with an IF function so that only return the
price IF its 45 and the rate is whatever is on that row.

Have i confused anyone yet?? haha

Please help!!

Thanks!!


--
kollizion
------------------------------------------------------------------------
kollizion's Profile:

http://www.excelforum.com/member.php...o&userid=22274
View this thread: http://www.excelforum.com/showthread...hreadid=400015



  #3   Report Post  
kollizion
 
Posts: n/a
Default


That worked perfect!!! Thanks so much!!!


--
kollizion
------------------------------------------------------------------------
kollizion's Profile: http://www.excelforum.com/member.php...o&userid=22274
View this thread: http://www.excelforum.com/showthread...hreadid=400015

  #4   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

Thanks for the feedback.

Mangesh


"kollizion" wrote in
message ...

That worked perfect!!! Thanks so much!!!


--
kollizion
------------------------------------------------------------------------
kollizion's Profile:

http://www.excelforum.com/member.php...o&userid=22274
View this thread: http://www.excelforum.com/showthread...hreadid=400015



Reply
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
Vlookup then OFFSET over and down mendozalaura Excel Worksheet Functions 3 August 24th 05 12:32 AM
Which to use - if, vlookup, match, index, offset, vba? punsterr Excel Discussion (Misc queries) 3 June 7th 05 07:42 PM
VLOOKUP, OFFSET, MATCH PROBLEM, HELP? Steve Excel Worksheet Functions 0 January 30th 05 09:11 PM
Vlookup with VBA Jeff Excel Discussion (Misc queries) 8 December 1st 04 02:41 PM
offset and vlookup cutsygurl Excel Worksheet Functions 1 November 5th 04 09:47 PM


All times are GMT +1. The time now is 07:44 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"