Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default Array formula works on first row only

Greetings

I have an array formula that I have entered (using CTRL+SHIFT+ENTER)
as follows:

=IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A2,VAL UE(I$2:I$1900),NA())

This works fine on the first row I entered it into and gives a result.
However, when I copy it down so it references A3, A4 etc, it always
returns #N/A for every subsequent row.

Possibly useful other information:
1. The numbers in column I are formatted as text, hence the VALUE
function.
2. Thinking the CONCATENATE might be the problem I created another
column with the concatenated result and referenced that instead, but
to no avail.

Any ideas why it doesn't work?

Thanks

Murray
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Array formula works on first row only

Try entering it as a regular (non-array) formula and copying it down. Works
for me.

Hope this helps,

Hutch

"Murray" wrote:

Greetings

I have an array formula that I have entered (using CTRL+SHIFT+ENTER)
as follows:

=IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A2,VAL UE(I$2:I$1900),NA())

This works fine on the first row I entered it into and gives a result.
However, when I copy it down so it references A3, A4 etc, it always
returns #N/A for every subsequent row.

Possibly useful other information:
1. The numbers in column I are formatted as text, hence the VALUE
function.
2. Thinking the CONCATENATE might be the problem I created another
column with the concatenated result and referenced that instead, but
to no avail.

Any ideas why it doesn't work?

Thanks

Murray

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default Array formula works on first row only

On Feb 5, 10:05*am, Tom Hutchins
wrote:
Try entering it as a regular (non-array) formula and copying it down. Works
for me.

Hope this helps,

Hutch



"Murray" wrote:
Greetings


I have an array formula that I have entered (using CTRL+SHIFT+ENTER)
as follows:


=IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A2,VAL UE(I$2:I$1900),NA())


This works fine on the first row I entered it into and gives a result.
However, when I copy it down so it references A3, A4 etc, it always
returns #N/A for every subsequent row.


Possibly useful other information:
1. The numbers in column I are formatted as text, hence the VALUE
function.
2. Thinking the CONCATENATE might be the problem I created another
column with the concatenated result and referenced that instead, but
to no avail.


Any ideas why it doesn't work?


Thanks


Murray- Hide quoted text -


- Show quoted text -


Thanks Tom, but that only seems to work if the row number of the value
in column A matches its counterpart in rows 2-1900.

I seem to have found a solution by changing it to
=SUM(IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A2 ,VALUE(I$2:I$1900),
0))
but I'm still unsure as to why this works and the other one does not.

Murray
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Array formula works on first row only

=SUM(IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A 2,VALUE(I$2:I$1900),0))
The numbers in column I are formatted as text
hence the VALUE function.


Try this normally entered formula:

=SUMPRODUCT(--($C$2:$C$1900&$D$2:$D$1900=$A2),--I$2:I$1900)

--
Biff
Microsoft Excel MVP


"Murray" wrote in message
...
On Feb 5, 10:05 am, Tom Hutchins
wrote:
Try entering it as a regular (non-array) formula and copying it down.
Works
for me.

Hope this helps,

Hutch



"Murray" wrote:
Greetings


I have an array formula that I have entered (using CTRL+SHIFT+ENTER)
as follows:


=IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A2,VAL UE(I$2:I$1900),NA())


This works fine on the first row I entered it into and gives a result.
However, when I copy it down so it references A3, A4 etc, it always
returns #N/A for every subsequent row.


Possibly useful other information:
1. The numbers in column I are formatted as text, hence the VALUE
function.
2. Thinking the CONCATENATE might be the problem I created another
column with the concatenated result and referenced that instead, but
to no avail.


Any ideas why it doesn't work?


Thanks


Murray- Hide quoted text -


- Show quoted text -


Thanks Tom, but that only seems to work if the row number of the value
in column A matches its counterpart in rows 2-1900.

I seem to have found a solution by changing it to
=SUM(IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A2 ,VALUE(I$2:I$1900),
0))
but I'm still unsure as to why this works and the other one does not.

Murray


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default Array formula works on first row only

Thanks Biff

With a few modifications to deal with errors induced by blank values,
and array entering it, it worked really well.

Murray


On Feb 5, 12:27*pm, "T. Valko" wrote:
=SUM(IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A 2,VALUE(I$2:I$1900),0))
The numbers in column I are formatted as text
hence the VALUE function.


Try this normally entered formula:

=SUMPRODUCT(--($C$2:$C$1900&$D$2:$D$1900=$A2),--I$2:I$1900)

--
Biff
Microsoft Excel MVP

"Murray" wrote in message

...
On Feb 5, 10:05 am, Tom Hutchins





wrote:
Try entering it as a regular (non-array) formula and copying it down.
Works
for me.


Hope this helps,


Hutch


"Murray" wrote:
Greetings


I have an array formula that I have entered (using CTRL+SHIFT+ENTER)
as follows:


=IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A2,VAL UE(I$2:I$1900),NA())


This works fine on the first row I entered it into and gives a result..
However, when I copy it down so it references A3, A4 etc, it always
returns #N/A for every subsequent row.


Possibly useful other information:
1. The numbers in column I are formatted as text, hence the VALUE
function.
2. Thinking the CONCATENATE might be the problem I created another
column with the concatenated result and referenced that instead, but
to no avail.


Any ideas why it doesn't work?


Thanks


Murray- Hide quoted text -


- Show quoted text -


Thanks Tom, but that only seems to work if the row number of the value
in column A matches its counterpart in rows 2-1900.

I seem to have found a solution by changing it to
=SUM(IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A2 ,VALUE(I$2:I$1900),
0))
but I'm still unsure as to why this works and the other one does not.

Murray- Hide quoted text -

- Show quoted text -




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Array formula works on first row only

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Murray" wrote in message
...
Thanks Biff

With a few modifications to deal with errors induced by blank values,
and array entering it, it worked really well.

Murray


On Feb 5, 12:27 pm, "T. Valko" wrote:
=SUM(IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A 2,VALUE(I$2:I$1900),0))
The numbers in column I are formatted as text
hence the VALUE function.


Try this normally entered formula:

=SUMPRODUCT(--($C$2:$C$1900&$D$2:$D$1900=$A2),--I$2:I$1900)

--
Biff
Microsoft Excel MVP

"Murray" wrote in message

...
On Feb 5, 10:05 am, Tom Hutchins





wrote:
Try entering it as a regular (non-array) formula and copying it down.
Works
for me.


Hope this helps,


Hutch


"Murray" wrote:
Greetings


I have an array formula that I have entered (using CTRL+SHIFT+ENTER)
as follows:


=IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A2,VAL UE(I$2:I$1900),NA())


This works fine on the first row I entered it into and gives a result.
However, when I copy it down so it references A3, A4 etc, it always
returns #N/A for every subsequent row.


Possibly useful other information:
1. The numbers in column I are formatted as text, hence the VALUE
function.
2. Thinking the CONCATENATE might be the problem I created another
column with the concatenated result and referenced that instead, but
to no avail.


Any ideas why it doesn't work?


Thanks


Murray- Hide quoted text -


- Show quoted text -


Thanks Tom, but that only seems to work if the row number of the value
in column A matches its counterpart in rows 2-1900.

I seem to have found a solution by changing it to
=SUM(IF(CONCATENATE($C$2:$C$1900,$D$2:$D$1900)=$A2 ,VALUE(I$2:I$1900),
0))
but I'm still unsure as to why this works and the other one does not.

Murray- Hide quoted text -

- Show quoted text -



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
Formula Bar works smreilly Excel Discussion (Misc queries) 1 January 23rd 09 09:33 PM
Find specific value in array of array formula DzednConfsd Excel Worksheet Functions 2 January 13th 09 06:19 AM
Array formula that works columnwise? Jerry W. Lewis Excel Worksheet Functions 16 April 16th 07 05:43 PM
IF formula works one way and not the other Joe Gieder Excel Worksheet Functions 1 November 3rd 05 11:46 PM
How do I convert works file to excel without works software? CatMB Excel Discussion (Misc queries) 1 June 21st 05 04:12 PM


All times are GMT +1. The time now is 04:57 AM.

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

About Us

"It's about Microsoft Excel"