Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 51
Default ISERROR and INDEX Funcion question

I have the following formula in column 4, row 4 of a multi row/column
spreadsheet, where I am referencing a value from one worksheet and looking
for the same value in an adjacent worksheet. It's basically a VLOOKUP
function.

=IF(ISERROR(INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2)),"",INDEX('Da ily
Activity'!$A$1:$B$77,SMALL(IF('Daily Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2))

The function works as I want it to; however, if I copy the formula exactly
as is to say column 6, row 4, and then change the range from A1:a77 to
A81:A90, then the formula does not work. I can't figure out why. Can anyone
help?

Thanks.


--
Allan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 834
Default ISERROR and INDEX Funcion question

See if this version is amendable

=IF(ISERROR(INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily Activity'!$A$1:$A$77)-MIN(ROW('Daily
Activity'!$A$1:$A$77))+1),ROW(1:$1)),2)),"",
INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily Activity'!$A$1:$A$77)-MIN(ROW('Daily
Activity'!$A$1:$A$77))+1),ROW(1:$1)),2))

--

HTH

Bob

"Flipper" wrote in message
...
I have the following formula in column 4, row 4 of a multi row/column
spreadsheet, where I am referencing a value from one worksheet and looking
for the same value in an adjacent worksheet. It's basically a VLOOKUP
function.

=IF(ISERROR(INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2)),"",INDEX('Da ily
Activity'!$A$1:$B$77,SMALL(IF('Daily Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2))

The function works as I want it to; however, if I copy the formula exactly
as is to say column 6, row 4, and then change the range from A1:a77 to
A81:A90, then the formula does not work. I can't figure out why. Can
anyone
help?

Thanks.


--
Allan



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 51
Default ISERROR and INDEX Funcion question

Hi Bob
Thanks for the quick response. the new formula does not work either. I
obviously don't understand why changing the "lookup" range causes the formula
not to work. I want it to do the same thing, just based on a different range
of data.
--
Allan


"Bob Phillips" wrote:

See if this version is amendable

=IF(ISERROR(INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily Activity'!$A$1:$A$77)-MIN(ROW('Daily
Activity'!$A$1:$A$77))+1),ROW(1:$1)),2)),"",
INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily Activity'!$A$1:$A$77)-MIN(ROW('Daily
Activity'!$A$1:$A$77))+1),ROW(1:$1)),2))

--

HTH

Bob

"Flipper" wrote in message
...
I have the following formula in column 4, row 4 of a multi row/column
spreadsheet, where I am referencing a value from one worksheet and looking
for the same value in an adjacent worksheet. It's basically a VLOOKUP
function.

=IF(ISERROR(INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2)),"",INDEX('Da ily
Activity'!$A$1:$B$77,SMALL(IF('Daily Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2))

The function works as I want it to; however, if I copy the formula exactly
as is to say column 6, row 4, and then change the range from A1:a77 to
A81:A90, then the formula does not work. I can't figure out why. Can
anyone
help?

Thanks.


--
Allan



.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 51
Default ISERROR and INDEX Funcion question

thanks for the assistance. I did get the formula below to work.
--
Allan


"Bob Phillips" wrote:

See if this version is amendable

=IF(ISERROR(INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily Activity'!$A$1:$A$77)-MIN(ROW('Daily
Activity'!$A$1:$A$77))+1),ROW(1:$1)),2)),"",
INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily Activity'!$A$1:$A$77)-MIN(ROW('Daily
Activity'!$A$1:$A$77))+1),ROW(1:$1)),2))

--

HTH

Bob

"Flipper" wrote in message
...
I have the following formula in column 4, row 4 of a multi row/column
spreadsheet, where I am referencing a value from one worksheet and looking
for the same value in an adjacent worksheet. It's basically a VLOOKUP
function.

=IF(ISERROR(INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2)),"",INDEX('Da ily
Activity'!$A$1:$B$77,SMALL(IF('Daily Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2))

The function works as I want it to; however, if I copy the formula exactly
as is to say column 6, row 4, and then change the range from A1:a77 to
A81:A90, then the formula does not work. I can't figure out why. Can
anyone
help?

Thanks.


--
Allan



.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default ISERROR and INDEX Funcion question

What type of data is being returned? Is it text, numeric or could it be
either?

--
Biff
Microsoft Excel MVP


"Flipper" wrote in message
...
I have the following formula in column 4, row 4 of a multi row/column
spreadsheet, where I am referencing a value from one worksheet and looking
for the same value in an adjacent worksheet. It's basically a VLOOKUP
function.

=IF(ISERROR(INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2)),"",INDEX('Da ily
Activity'!$A$1:$B$77,SMALL(IF('Daily Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2))

The function works as I want it to; however, if I copy the formula exactly
as is to say column 6, row 4, and then change the range from A1:a77 to
A81:A90, then the formula does not work. I can't figure out why. Can
anyone
help?

Thanks.


--
Allan





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 51
Default ISERROR and INDEX Funcion question

It should be numeric, but as it is, nothing is being returned.
--
Allan


"T. Valko" wrote:

What type of data is being returned? Is it text, numeric or could it be
either?

--
Biff
Microsoft Excel MVP


"Flipper" wrote in message
...
I have the following formula in column 4, row 4 of a multi row/column
spreadsheet, where I am referencing a value from one worksheet and looking
for the same value in an adjacent worksheet. It's basically a VLOOKUP
function.

=IF(ISERROR(INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2)),"",INDEX('Da ily
Activity'!$A$1:$B$77,SMALL(IF('Daily Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2))

The function works as I want it to; however, if I copy the formula exactly
as is to say column 6, row 4, and then change the range from A1:a77 to
A81:A90, then the formula does not work. I can't figure out why. Can
anyone
help?

Thanks.


--
Allan



.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default ISERROR and INDEX Funcion question

Ok, here's one way that the formula can be written...

Let's assume that you want the formula entered in cell C4 then copied down.

Array entered:

=IF(ROWS(C$4:C4)COUNTIF('Daily Activity'!
A$1:A$77,B$4),"",INDEX('Daily Activity'!B:B,
SMALL(IF('Daily Activity'!A$1:A$77=B$4,ROW
('Daily Activity'!A$1:A$77)),ROWS(C$4:C4))))

--
Biff
Microsoft Excel MVP


"Flipper" wrote in message
...
It should be numeric, but as it is, nothing is being returned.
--
Allan


"T. Valko" wrote:

What type of data is being returned? Is it text, numeric or could it be
either?

--
Biff
Microsoft Excel MVP


"Flipper" wrote in message
...
I have the following formula in column 4, row 4 of a multi row/column
spreadsheet, where I am referencing a value from one worksheet and
looking
for the same value in an adjacent worksheet. It's basically a VLOOKUP
function.

=IF(ISERROR(INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2)),"",INDEX('Da ily
Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2))

The function works as I want it to; however, if I copy the formula
exactly
as is to say column 6, row 4, and then change the range from A1:a77 to
A81:A90, then the formula does not work. I can't figure out why. Can
anyone
help?

Thanks.


--
Allan



.



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 51
Default ISERROR and INDEX Funcion question

I'm probably doing something wrong, because this doesn't work correctly
either. It does return a value, but it's the wrong one.



"T. Valko" wrote:

Ok, here's one way that the formula can be written...

Let's assume that you want the formula entered in cell C4 then copied down.

Array entered:

=IF(ROWS(C$4:C4)COUNTIF('Daily Activity'!
A$1:A$77,B$4),"",INDEX('Daily Activity'!B:B,
SMALL(IF('Daily Activity'!A$1:A$77=B$4,ROW
('Daily Activity'!A$1:A$77)),ROWS(C$4:C4))))

--
Biff
Microsoft Excel MVP


"Flipper" wrote in message
...
It should be numeric, but as it is, nothing is being returned.
--
Allan


"T. Valko" wrote:

What type of data is being returned? Is it text, numeric or could it be
either?

--
Biff
Microsoft Excel MVP


"Flipper" wrote in message
...
I have the following formula in column 4, row 4 of a multi row/column
spreadsheet, where I am referencing a value from one worksheet and
looking
for the same value in an adjacent worksheet. It's basically a VLOOKUP
function.

=IF(ISERROR(INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2)),"",INDEX('Da ily
Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2))

The function works as I want it to; however, if I copy the formula
exactly
as is to say column 6, row 4, and then change the range from A1:a77 to
A81:A90, then the formula does not work. I can't figure out why. Can
anyone
help?

Thanks.


--
Allan


.



.

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default ISERROR and INDEX Funcion question

Here's a small sample file that demonstrates this.

zFlipper.xls 19kb

http://cjoint.com/?dAwA7hA0GL

--
Biff
Microsoft Excel MVP


"Flipper" wrote in message
...
I'm probably doing something wrong, because this doesn't work correctly
either. It does return a value, but it's the wrong one.



"T. Valko" wrote:

Ok, here's one way that the formula can be written...

Let's assume that you want the formula entered in cell C4 then copied
down.

Array entered:

=IF(ROWS(C$4:C4)COUNTIF('Daily Activity'!
A$1:A$77,B$4),"",INDEX('Daily Activity'!B:B,
SMALL(IF('Daily Activity'!A$1:A$77=B$4,ROW
('Daily Activity'!A$1:A$77)),ROWS(C$4:C4))))

--
Biff
Microsoft Excel MVP


"Flipper" wrote in message
...
It should be numeric, but as it is, nothing is being returned.
--
Allan


"T. Valko" wrote:

What type of data is being returned? Is it text, numeric or could it
be
either?

--
Biff
Microsoft Excel MVP


"Flipper" wrote in message
...
I have the following formula in column 4, row 4 of a multi row/column
spreadsheet, where I am referencing a value from one worksheet and
looking
for the same value in an adjacent worksheet. It's basically a
VLOOKUP
function.

=IF(ISERROR(INDEX('Daily Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2)),"",INDEX('Da ily
Activity'!$A$1:$B$77,SMALL(IF('Daily
Activity'!$A$1:$A$77=$B4,ROW('Daily
Activity'!$A$1:$A$77)),ROW(1:$1)),2))

The function works as I want it to; however, if I copy the formula
exactly
as is to say column 6, row 4, and then change the range from A1:a77
to
A81:A90, then the formula does not work. I can't figure out why.
Can
anyone
help?

Thanks.


--
Allan


.



.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
iserror, index & if Sueellen1312 Excel Worksheet Functions 4 February 16th 10 05:13 PM
if(iserror()) question Mike B.[_2_] Excel Worksheet Functions 2 January 19th 10 03:44 PM
IF(ISNA.. or ISERROR? question.. Nastech Excel Discussion (Misc queries) 3 September 22nd 08 03:56 PM
Iserror question swedish max Excel Worksheet Functions 2 February 20th 06 04:32 PM
#REF,ISERROR, File Not Found question. FlaProcessEng Excel Discussion (Misc queries) 7 February 11th 05 10:29 PM


All times are GMT +1. The time now is 10:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"