Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-24-2011, 06:43 AM
udea udea is offline Lookup a value from non-sorted data Windows 7 64bit Lookup a value from non-sorted data Office 2007
Novice
Lookup a value from non-sorted data
 
Join Date: Apr 2011
Posts: 13
udea is on a distinguished road
Default

Mr. Macropod,



As i explained before, the data is acquired from some type of test and then presented in a graph.

Value 151 is actually =max(a3:a122)/2, which is at row 23. normally we would do it manually by drawing a line on the graph to get the x-value at the intersection of y-value (151). By looking at the data set, the nearest is the value in row 7.

If i can point the data for y-value correctly, then i can calculate the x-value.

I said row 7 is the nearest to the value 151 because the value is in the "middle" of row 7 and 8 and is before the peak (row 23).

I attached the excel file with the graph for your better picture.

Thank you very much for your effort.

Regards,
Udea
Attached Files
File Type: xlsx Book1.xlsx (17.0 KB, 10 views)
Reply With Quote
  #2  
Old 04-24-2011, 03:06 PM
macropod's Avatar
macropod macropod is offline Lookup a value from non-sorted data Windows 7 32bit Lookup a value from non-sorted data Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,512
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by udea View Post
Value 151 is actually =max(a3:a122)/2, which is at row 23.
Actually, the result of that formula is 150.96515. However that makes little difference to the syntax of the formula required for matching purposes.
Quote:
Originally Posted by udea View Post
I said row 7 is the nearest to the value 151 because the value is in the "middle" of row 7 and 8 and is before the peak (row 23).
So, you want the nearest match before the average is first reached? What happens if the first value is the maximum?

You need to set out fully what the matching logic is.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi-Variable Lookup help ebolton Excel 8 05-05-2011 05:28 AM
Lookup a value from non-sorted data Field Lookup - Confused lawnG Word Tables 1 01-31-2011 03:50 PM
Creating Lookup in Excel vikash kumar Excel 2 12-06-2010 06:50 AM
Lookup a value from non-sorted data Using the LOOKUP Command Grapejuice Excel 2 10-15-2008 02:02 PM
Help with Max or lookup fomula to return a name forAmaxValue dutch4fire23 Excel 0 07-28-2006 01:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft