Return Last Value in a Row formula

T

Txlonghorn76

I am using this formula:
=INDEX(1:1,MAX(INDEX(COLUMN(1:1)*(NOT(ISBLANK(1:1))),))) to get the last
non-blank value in my current worksheet. Does anyone know how to use this
formula to get the last rnon-blank value of a different workbook?

Thanks!
 
T

T. Valko

Just add the path.

Open the other workbook and use your mouse to point to the the source
ranges. This way Excel will add the path for you.

For example...

Start typing the formula: =INDEX(

Now, use the mouse and point to the other workbook and the desired sheet row
1

Excel will add the path for you:

=INDEX([Dates.xls]Sheet1!$1:$1

Then just finish the formula in this manor.
 
T

Txlonghorn76

I changed the formula to this but it's only giving me the contact of the
first column of row 27. Please help.

=INDEX('[Sept - Daily Doc 08.xls]Daily Individual
Numbers'!$27:$27,MAX(INDEX(COLUMN(27:27)*(NOT(ISBLANK(27:27))),)))


T. Valko said:
Just add the path.

Open the other workbook and use your mouse to point to the the source
ranges. This way Excel will add the path for you.

For example...

Start typing the formula: =INDEX(

Now, use the mouse and point to the other workbook and the desired sheet row
1

Excel will add the path for you:

=INDEX([Dates.xls]Sheet1!$1:$1

Then just finish the formula in this manor.

--
Biff
Microsoft Excel MVP


Txlonghorn76 said:
I am using this formula:
=INDEX(1:1,MAX(INDEX(COLUMN(1:1)*(NOT(ISBLANK(1:1))),))) to get the last
non-blank value in my current worksheet. Does anyone know how to use this
formula to get the last rnon-blank value of a different workbook?

Thanks!
 
T

T. Valko

You have to add the path to every function that references the other
workbook so you need to add the path to the ISBLANK function and the COLUMN
function as well.

Although the path is not needed in the COLUMN function you might want to add
it just so it doesn't lead to confusion.

--
Biff
Microsoft Excel MVP


Txlonghorn76 said:
I changed the formula to this but it's only giving me the contact of the
first column of row 27. Please help.

=INDEX('[Sept - Daily Doc 08.xls]Daily Individual
Numbers'!$27:$27,MAX(INDEX(COLUMN(27:27)*(NOT(ISBLANK(27:27))),)))


T. Valko said:
Just add the path.

Open the other workbook and use your mouse to point to the the source
ranges. This way Excel will add the path for you.

For example...

Start typing the formula: =INDEX(

Now, use the mouse and point to the other workbook and the desired sheet
row
1

Excel will add the path for you:

=INDEX([Dates.xls]Sheet1!$1:$1

Then just finish the formula in this manor.

--
Biff
Microsoft Excel MVP


Txlonghorn76 said:
I am using this formula:
=INDEX(1:1,MAX(INDEX(COLUMN(1:1)*(NOT(ISBLANK(1:1))),))) to get the
last
non-blank value in my current worksheet. Does anyone know how to use
this
formula to get the last rnon-blank value of a different workbook?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top