ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula ? Return value from rightmost non-blank cell in a row of (https://www.excelbanter.com/excel-worksheet-functions/40060-formula-return-value-rightmost-non-blank-cell-row.html)

tgdavis

Formula ? Return value from rightmost non-blank cell in a row of
 
Please help me with a formula for the following return last entry in row to
col. g:

a b c d e
f g
1 6/7/05 8/3/05 7/2/05
7/2/05

2 5/2/05
5/2/05

3 7/13/05 8/6/05
8/6/05

4 6/7/05 9/13/05
9/13/05

Aladin Akyurek

=LOOKUP(9.99999999999999E+307,Range)

tgdavis wrote:
Please help me with a formula for the following return last entry in row to
col. g:

a b c d e
f g
1 6/7/05 8/3/05 7/2/05
7/2/05

2 5/2/05
5/2/05

3 7/13/05 8/6/05
8/6/05

4 6/7/05 9/13/05
9/13/05


Domenic

For the last numerical value...

G1, copied down:

=LOOKUP(9.99999999999999E+307,A1:F1)

....and format cells as date.

Hope this helps!

In article ,
"tgdavis" wrote:

Please help me with a formula for the following return last entry in row to
col. g:

a b c d e
f g
1 6/7/05 8/3/05 7/2/05
7/2/05

2 5/2/05
5/2/05

3 7/13/05 8/6/05
8/6/05

4 6/7/05 9/13/05
9/13/05


tgdavis

Thank-you! Is there any way to supress the #N/A that results for rows where
all the cells are blank?


"Domenic" wrote:

For the last numerical value...

G1, copied down:

=LOOKUP(9.99999999999999E+307,A1:F1)

....and format cells as date.

Hope this helps!

In article ,
"tgdavis" wrote:

Please help me with a formula for the following return last entry in row to
col. g:

a b c d e
f g
1 6/7/05 8/3/05 7/2/05
7/2/05

2 5/2/05
5/2/05

3 7/13/05 8/6/05
8/6/05

4 6/7/05 9/13/05
9/13/05



tgdavis

Thank-you! Is there any way to supress the #N/A that results for rows where
all the cells are blank?


"Aladin Akyurek" wrote:

=LOOKUP(9.99999999999999E+307,Range)

tgdavis wrote:
Please help me with a formula for the following return last entry in row to
col. g:

a b c d e
f g
1 6/7/05 8/3/05 7/2/05
7/2/05

2 5/2/05
5/2/05

3 7/13/05 8/6/05
8/6/05

4 6/7/05 9/13/05
9/13/05



Bob Phillips

=IF(COUNTA(A1:F1)=0,"",LOOKUP(9.99999999999999E+30 7,A1:F1))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"tgdavis" wrote in message
...
Thank-you! Is there any way to supress the #N/A that results for rows

where
all the cells are blank?


"Domenic" wrote:

For the last numerical value...

G1, copied down:

=LOOKUP(9.99999999999999E+307,A1:F1)

....and format cells as date.

Hope this helps!

In article ,
"tgdavis" wrote:

Please help me with a formula for the following return last entry in

row to
col. g:

a b c d

e
f g
1 6/7/05 8/3/05 7/2/05
7/2/05

2 5/2/05
5/2/05

3 7/13/05 8/6/05
8/6/05

4 6/7/05 9/13/05
9/13/05





tgdavis

Thank-you!

"Bob Phillips" wrote:

=IF(COUNTA(A1:F1)=0,"",LOOKUP(9.99999999999999E+30 7,A1:F1))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"tgdavis" wrote in message
...
Thank-you! Is there any way to supress the #N/A that results for rows

where
all the cells are blank?


"Domenic" wrote:

For the last numerical value...

G1, copied down:

=LOOKUP(9.99999999999999E+307,A1:F1)

....and format cells as date.

Hope this helps!

In article ,
"tgdavis" wrote:

Please help me with a formula for the following return last entry in

row to
col. g:

a b c d

e
f g
1 6/7/05 8/3/05 7/2/05
7/2/05

2 5/2/05
5/2/05

3 7/13/05 8/6/05
8/6/05

4 6/7/05 9/13/05
9/13/05





my

Formula ? Return value from rightmost non-blank cell in a row
 
Hi,

Just out of curiosity, how does the LOOKUP(9.99999999999999E+307,A1:F1)
work?



"Bob Phillips" wrote:

=IF(COUNTA(A1:F1)=0,"",LOOKUP(9.99999999999999E+30 7,A1:F1))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"tgdavis" wrote in message
...
Thank-you! Is there any way to supress the #N/A that results for rows

where
all the cells are blank?


"Domenic" wrote:

For the last numerical value...

G1, copied down:

=LOOKUP(9.99999999999999E+307,A1:F1)

....and format cells as date.

Hope this helps!

In article ,
"tgdavis" wrote:

Please help me with a formula for the following return last entry in

row to
col. g:

a b c d

e
f g
1 6/7/05 8/3/05 7/2/05
7/2/05

2 5/2/05
5/2/05

3 7/13/05 8/6/05
8/6/05

4 6/7/05 9/13/05
9/13/05





Max

Formula ? Return value from rightmost non-blank cell in a row
 
"my" wrote:
.. Just out of curiosity, how does the LOOKUP
(9.99999999999999E+307,A1:F1) work?

...
"Bob Phillips" wrote:
=IF(COUNTA(A1:F1)=0,"",LOOKUP(9.99999999999999E+30 7,A1:F1))


Try the responder's excellent white paper at his:
http://www.xldynamic.com/source/xld.LastValue.html

(but don't ask me why Bob doesn't include a link to his site
in his sign-off <g)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---




All times are GMT +1. The time now is 03:25 AM.

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