Find given value and returns the highest sale number, column reference

vladi305

Board Regular
Joined
Jan 12, 2023
Messages
88
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have a tab with some data and I need to get information from that tab
I needto find a given value and returns the highest sale number, column and row reference.
Once that value is found I need to return the column reference or in which column is found
1st, 2nd, 3rd. 4th or 5th
FYI: this sheet has formulas in it
 

Attachments

  • Screenshot_20230117-140944_Excel.jpg
    Screenshot_20230117-140944_Excel.jpg
    146.1 KB · Views: 15

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Like this?

EXCEL
ABCDEFGHI
1Find:12
2Result:Row: 12 Column: 3 Max: 52 Header: 3rd
3
41st2nd3rd4th5th
51334421360
62765146320
7300000
84027000
95000310
106002900
117270000
12800000
139002600
141000000
1511031000
161203652410
171300000
18140002955
1915000320
201603226500
211700000
221800000
231900000
Sheet1
Cell Formulas
RangeFormula
I2I2=LET(d,B5:F23,ro,XMATCH(I1,A5#,0),rd,INDEX(d,ro,0),mx,MAX(rd),col,XMATCH(mx,rd,0),hd,INDEX(B4:F4,col),TEXTJOIN(CHAR(10),,"Row: " & ro,"Column: "& col,"Max: "&mx,"Header: " & hd))
A5:A23A5=SEQUENCE(19)
Dynamic array formulas.
 
Upvote 0
Like this?

EXCEL
ABCDEFGHI
1Find:12
2Result:Row: 12 Column: 3 Max: 52 Header: 3rd
3
41st2nd3rd4th5th
51334421360
62765146320
7300000
84027000
95000310
106002900
117270000
12800000
139002600
141000000
1511031000
161203652410
171300000
18140002955
1915000320
201603226500
211700000
221800000
231900000
Sheet1
Cell Formulas
RangeFormula
I2I2=LET(d,B5:F23,ro,XMATCH(I1,A5#,0),rd,INDEX(d,ro,0),mx,MAX(rd),col,XMATCH(mx,rd,0),hd,INDEX(B4:F4,col),TEXTJOIN(CHAR(10),,"Row: " & ro,"Column: "& col,"Max: "&mx,"Header: " & hd))
A5:A23A5=SEQUENCE(19)
Dynamic array formulas.
Yes, exactly that is what I'm looking for
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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