max value in column and related time

Mollymm

New Member
Joined
Aug 27, 2014
Messages
4
I have 2 columns of numbers, A is time and B is a list of numbers.
I need to find the find and record the number in column B that is the greatest diffference from 0, it may be positive or negative. Then report the corresponding time from column A.

Thank you for helping.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Try this. As with vlookup it will return the first value in event there are two the same. Has to be entered CNTL-SHIFT-ENTER. Works for 100 cells each column. If you need any more adjust.

=INDEX(A1:A100,MATCH(MAX(ABS(B1:B100)),ABS(B1:B100),0))
 
Upvote 0
Thank you for the help.
When I enter this I am getting the time (from column A) which I need, but not the corresponding (max) number from column B
 
Upvote 0
Hopefully one last question, thank you for your patience.

=MAX(ABS(B1:B100)) gives me the max abs, yes. If the number is negative I loose that information, is there a way to regain it?
 
Upvote 0
Try this:

=IF((MAX(B1:B100)+MIN(B1:B100))>0,MAX(B1:B100),MIN(B1:B100))
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top