ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Hlookup for row 3 and 4 (https://www.excelbanter.com/excel-worksheet-functions/136923-hlookup-row-3-4-a.html)

dilettante

Hlookup for row 3 and 4
 
I am getting crazy trying the following:

row 1 cell A1 =hlookup(A2:F3;max(A2:F2);1) (closed with shift ctr enter)
row 2 cells 23 25 43 10 0 12 25 (as results of sum(A4:A50 - B4:B50 -
etc.)
row 3 cells aa db ac ya fg ig rs (text)

I get always as result "rs"
What am I doing wrong?
Thank you feor help

--
dilettante

John Bundy

Hlookup for row 3 and 4
 
You are a little off on your code, try this
=HLOOKUP(MAX(A2:G2),A2:G3,2,FALSE)
--
-John Northwest11
Please rate when your question is answered to help us and others know what
is helpful.


"dilettante" wrote:

I am getting crazy trying the following:

row 1 cell A1 =hlookup(A2:F3;max(A2:F2);1) (closed with shift ctr enter)
row 2 cells 23 25 43 10 0 12 25 (as results of sum(A4:A50 - B4:B50 -
etc.)
row 3 cells aa db ac ya fg ig rs (text)

I get always as result "rs"
What am I doing wrong?
Thank you feor help

--
dilettante


dilettante

Hlookup for row 3 and 4
 
It works, thank you!
Best regards
--
dilettante


"John Bundy" wrote:

You are a little off on your code, try this
=HLOOKUP(MAX(A2:G2),A2:G3,2,FALSE)
--
-John Northwest11
Please rate when your question is answered to help us and others know what
is helpful.


"dilettante" wrote:

I am getting crazy trying the following:

row 1 cell A1 =hlookup(A2:F3;max(A2:F2);1) (closed with shift ctr enter)
row 2 cells 23 25 43 10 0 12 25 (as results of sum(A4:A50 - B4:B50 -
etc.)
row 3 cells aa db ac ya fg ig rs (text)

I get always as result "rs"
What am I doing wrong?
Thank you feor help

--
dilettante



All times are GMT +1. The time now is 02:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com