#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default INDEX? VLOOKUP?

Hey guys
,
I'm working on some data and not sure if V LOOKUP or INDEX is better to
use... i have been having problems getting either to work for me...
The data looks something like this:

A B C D
FROM TO CORRECT NEW FROM
60 65 0.4 68
65 70 1.2 73
70 80 -1.5 75
80 110 -1.6 78

what i am trying to do is find which FROM TO range the NEW FROM cells fall
within and then add the corresponding CORRECT value to it...

Any suggestions would be greatly appreciated!
Cheers,
Lloydy
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 623
Default INDEX? VLOOKUP?

As long as your To cell is always equal to the next From cell (ie, b2=a3),
Vlookup will do everything you need. To add 1.2 to the 68 in D2, use:

=d2+vlookup(d2,a:d,3,true)

--
Regards,
Fred


"lloydyleg11" wrote in message
...
Hey guys
,
I'm working on some data and not sure if V LOOKUP or INDEX is better to
use... i have been having problems getting either to work for me...
The data looks something like this:

A B C D
FROM TO CORRECT NEW FROM
60 65 0.4 68
65 70 1.2 73
70 80 -1.5 75
80 110 -1.6 78

what i am trying to do is find which FROM TO range the NEW FROM cells fall
within and then add the corresponding CORRECT value to it...

Any suggestions would be greatly appreciated!
Cheers,
Lloydy



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default INDEX? VLOOKUP?

Thanks Fred!!
it worked perfectly, i was getting close but couldn't quite get it all to
work in one formula. Yours has fix my woes!

Cheer,
Brendan

"Fred Smith" wrote:

As long as your To cell is always equal to the next From cell (ie, b2=a3),
Vlookup will do everything you need. To add 1.2 to the 68 in D2, use:

=d2+vlookup(d2,a:d,3,true)

--
Regards,
Fred


"lloydyleg11" wrote in message
...
Hey guys
,
I'm working on some data and not sure if V LOOKUP or INDEX is better to
use... i have been having problems getting either to work for me...
The data looks something like this:

A B C D
FROM TO CORRECT NEW FROM
60 65 0.4 68
65 70 1.2 73
70 80 -1.5 75
80 110 -1.6 78

what i am trying to do is find which FROM TO range the NEW FROM cells fall
within and then add the corresponding CORRECT value to it...

Any suggestions would be greatly appreciated!
Cheers,
Lloydy




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
How can I automatically update column index number in VLookup whe. Gene Excel Worksheet Functions 2 July 10th 12 11:23 AM
VLOOKUP, INDEX & MATCH ERROR HELP sahafi Excel Worksheet Functions 6 September 12th 06 11:26 PM
Match, Index, Vlookup, Large....Help Please [email protected] Excel Worksheet Functions 3 December 15th 04 01:38 PM
vlookup change column index position - without changing formulae loopyloobyloo Excel Worksheet Functions 1 November 26th 04 01:35 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


All times are GMT +1. The time now is 12:00 PM.

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"