Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Problem with a Array formula, Please help !!


What is the problem with the array formula (see cells in column R, which
are highlighted coloured yellow) ?

{=IF(SUM(IF(ISERROR(LOOKUP(N(OFFSET($B2,,{0,2,4,6, 8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G $210))),0,IF(LOOKUP(N(OFFSET($B2,,{0,2,4,6,8,10,12 ,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210))= "Y",1,0)),IF(ISERROR(LOOKUP(T(OFFSET($B2,,{0,2,4,6 ,8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$ G$210))),0,IF(LOOKUP(T(OFFSET($B2,,{0,2,4,6,8,10,1 2,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210)) ="Y",1,0)))
0,"Y",""}


What I want to achieve with this formula is to count how many items as
shown in respective cells in column B,D,F,H,J,L,N,P are bearing 'Y" in G
column in respective table in 'A' worksheet and 'B' worksheet.

Please help !!




--
hkgoodwill
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Problem with a Array formula, Please help !!

Can you rephrase this:

What I want to achieve with this formula is to
count how many items as shown in respective
cells in column B,D,F,H,J,L,N,P are bearing
'Y" in G column in respective table in 'A'
worksheet and 'B' worksheet.


--
Biff
Microsoft Excel MVP


"hkgoodwill" wrote in message
...

What is the problem with the array formula (see cells in column R, which
are highlighted coloured yellow) ?

{=IF(SUM(IF(ISERROR(LOOKUP(N(OFFSET($B2,,{0,2,4,6, 8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G $210))),0,IF(LOOKUP(N(OFFSET($B2,,{0,2,4,6,8,10,12 ,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210))= "Y",1,0)),IF(ISERROR(LOOKUP(T(OFFSET($B2,,{0,2,4,6 ,8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$ G$210))),0,IF(LOOKUP(T(OFFSET($B2,,{0,2,4,6,8,10,1 2,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210)) ="Y",1,0)))
0,"Y",""}


What I want to achieve with this formula is to count how many items as
shown in respective cells in column B,D,F,H,J,L,N,P are bearing 'Y" in G
column in respective table in 'A' worksheet and 'B' worksheet.

Please help !!




--
hkgoodwill



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Problem with a Array formula, Please help !!


Sir,

I have tried many many time to upload the the excel file (zipped) but
in vain. so I present what the Array forumula is intended to do here :

1. if column A is "ABC" go to table at worksheet A; otherwise go to
worksheet B;
2. try to check how many item numbers in column B,D,F,H,J,L,N,P with
respective table to see if column G of the table for respective item
number is showing "Y". If it is so, count it i;.
3. Should result of the counting of step 2 above is bigger than 0, then
the result should show "Y".

All above step have to be done in a Array formula.

Please note :

i. The first column of tables in A and B worksheets are not in
ascendency order;
ii. There may be empty rows in the tables.

My Array Formula is as follow :

{=IF(SUM(IF(ISERROR(LOOKUP(N(OFFSET($B2,,{0,2,4,6, 8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G $210))),0,IF(LOOKUP(N(OFFSET($B2,,{0,2,4,6,8,10,12 ,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210))= "Y",1,0)),IF(ISERROR(LOOKUP(T(OFFSET($B2,,{0,2,4,6 ,8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$ G$210))),0,IF(LOOKUP(T(OFFSET($B2,,{0,2,4,6,8,10,1 2,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210)) ="Y",1,0)))=0,"","Y")}

I can send my excel file to you via email.

THANK YOU !!


T. Valko;3600755 Wrote:
Can you rephrase this:
-
What I want to achieve with this formula is to
count how many items as shown in respective
cells in column B,D,F,H,J,L,N,P are bearing
'Y" in G column in respective table in 'A'
worksheet and 'B' worksheet.-

--
Biff
Microsoft Excel MVP


"hkgoodwill" wrote in message
...-

What is the problem with the array formula (see cells in column R,
which
are highlighted coloured yellow) ?

{=IF(SUM(IF(ISERROR(LOOKUP(N(OFFSET($B2,,{0,2,4,6, 8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G $210))),0,IF(LOOKUP(N(OFFSET($B2,,{0,2,4,6,8,10,12 ,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210))= "Y",1,0)),IF(ISERROR(LOOKUP(T(OFFSET($B2,,{0,2,4,6 ,8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$ G$210))),0,IF(LOOKUP(T(OFFSET($B2,,{0,2,4,6,8,10,1 2,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210)) ="Y",1,0)))-
0,"Y",""}-

What I want to achieve with this formula is to count how many items as
shown in respective cells in column B,D,F,H,J,L,N,P are bearing 'Y" in
G
column in respective table in 'A' worksheet and 'B' worksheet.

Please help !!




--
hkgoodwill -





--
hkgoodwill
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Problem with a Array formula, Please help !!

Try posting a small sample of your data.

I don't need to see every column, B,D,F,H,J,L,N,P. Maybe just a few.
Something like this:

....B...D...F...G
....1...1...2...Y
....0...5...4.....
....2...1...3...Y
..............2...Y

--
Biff
Microsoft Excel MVP


"hkgoodwill" wrote in message
...

Sir,

I have tried many many time to upload the the excel file (zipped) but
in vain. so I present what the Array forumula is intended to do here :

1. if column A is "ABC" go to table at worksheet A; otherwise go to
worksheet B;
2. try to check how many item numbers in column B,D,F,H,J,L,N,P with
respective table to see if column G of the table for respective item
number is showing "Y". If it is so, count it i;.
3. Should result of the counting of step 2 above is bigger than 0, then
the result should show "Y".

All above step have to be done in a Array formula.

Please note :

i. The first column of tables in A and B worksheets are not in
ascendency order;
ii. There may be empty rows in the tables.

My Array Formula is as follow :

{=IF(SUM(IF(ISERROR(LOOKUP(N(OFFSET($B2,,{0,2,4,6, 8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G $210))),0,IF(LOOKUP(N(OFFSET($B2,,{0,2,4,6,8,10,12 ,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210))= "Y",1,0)),IF(ISERROR(LOOKUP(T(OFFSET($B2,,{0,2,4,6 ,8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$ G$210))),0,IF(LOOKUP(T(OFFSET($B2,,{0,2,4,6,8,10,1 2,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210)) ="Y",1,0)))=0,"","Y")}

I can send my excel file to you via email.

THANK YOU !!


T. Valko;3600755 Wrote:
Can you rephrase this:
-
What I want to achieve with this formula is to
count how many items as shown in respective
cells in column B,D,F,H,J,L,N,P are bearing
'Y" in G column in respective table in 'A'
worksheet and 'B' worksheet.-

--
Biff
Microsoft Excel MVP


"hkgoodwill" wrote in message
...-

What is the problem with the array formula (see cells in column R,
which
are highlighted coloured yellow) ?

{=IF(SUM(IF(ISERROR(LOOKUP(N(OFFSET($B2,,{0,2,4,6, 8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G $210))),0,IF(LOOKUP(N(OFFSET($B2,,{0,2,4,6,8,10,12 ,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210))= "Y",1,0)),IF(ISERROR(LOOKUP(T(OFFSET($B2,,{0,2,4,6 ,8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$ G$210))),0,IF(LOOKUP(T(OFFSET($B2,,{0,2,4,6,8,10,1 2,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210)) ="Y",1,0)))-
0,"Y",""}-

What I want to achieve with this formula is to count how many items as
shown in respective cells in column B,D,F,H,J,L,N,P are bearing 'Y" in
G
column in respective table in 'A' worksheet and 'B' worksheet.

Please help !!




--
hkgoodwill -





--
hkgoodwill





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Problem with a Array formula, Please help !!

P.S.

Also, tell me what result you expect.

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try posting a small sample of your data.

I don't need to see every column, B,D,F,H,J,L,N,P. Maybe just a few.
Something like this:

...B...D...F...G
...1...1...2...Y
...0...5...4.....
...2...1...3...Y
.............2...Y

--
Biff
Microsoft Excel MVP


"hkgoodwill" wrote in message
...

Sir,

I have tried many many time to upload the the excel file (zipped) but
in vain. so I present what the Array forumula is intended to do here :

1. if column A is "ABC" go to table at worksheet A; otherwise go to
worksheet B;
2. try to check how many item numbers in column B,D,F,H,J,L,N,P with
respective table to see if column G of the table for respective item
number is showing "Y". If it is so, count it i;.
3. Should result of the counting of step 2 above is bigger than 0, then
the result should show "Y".

All above step have to be done in a Array formula.

Please note :

i. The first column of tables in A and B worksheets are not in
ascendency order;
ii. There may be empty rows in the tables.

My Array Formula is as follow :

{=IF(SUM(IF(ISERROR(LOOKUP(N(OFFSET($B2,,{0,2,4,6, 8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G $210))),0,IF(LOOKUP(N(OFFSET($B2,,{0,2,4,6,8,10,12 ,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210))= "Y",1,0)),IF(ISERROR(LOOKUP(T(OFFSET($B2,,{0,2,4,6 ,8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$ G$210))),0,IF(LOOKUP(T(OFFSET($B2,,{0,2,4,6,8,10,1 2,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210)) ="Y",1,0)))=0,"","Y")}

I can send my excel file to you via email.

THANK YOU !!


T. Valko;3600755 Wrote:
Can you rephrase this:
-
What I want to achieve with this formula is to
count how many items as shown in respective
cells in column B,D,F,H,J,L,N,P are bearing
'Y" in G column in respective table in 'A'
worksheet and 'B' worksheet.-

--
Biff
Microsoft Excel MVP


"hkgoodwill" wrote in message
...-

What is the problem with the array formula (see cells in column R,
which
are highlighted coloured yellow) ?

{=IF(SUM(IF(ISERROR(LOOKUP(N(OFFSET($B2,,{0,2,4,6, 8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G $210))),0,IF(LOOKUP(N(OFFSET($B2,,{0,2,4,6,8,10,12 ,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210))= "Y",1,0)),IF(ISERROR(LOOKUP(T(OFFSET($B2,,{0,2,4,6 ,8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$ G$210))),0,IF(LOOKUP(T(OFFSET($B2,,{0,2,4,6,8,10,1 2,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210)) ="Y",1,0)))-
0,"Y",""}-

What I want to achieve with this formula is to count how many items as
shown in respective cells in column B,D,F,H,J,L,N,P are bearing 'Y" in
G
column in respective table in 'A' worksheet and 'B' worksheet.

Please help !!




--
hkgoodwill -





--
hkgoodwill





  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Problem with a Array formula, Please help !!


hkgoodwill;3600498 Wrote:
What is the problem with the array formula (see cells in column R, which
are highlighted coloured yellow) ?

{=IF(SUM(IF(ISERROR(LOOKUP(N(OFFSET($B2,,{0,2,4,6, 8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G $210))),0,IF(LOOKUP(N(OFFSET($B2,,{0,2,4,6,8,10,12 ,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210))= "Y",1,0)),IF(ISERROR(LOOKUP(T(OFFSET($B2,,{0,2,4,6 ,8,10,12,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$ G$210))),0,IF(LOOKUP(T(OFFSET($B2,,{0,2,4,6,8,10,1 2,14})),IF($A2="ABC",A!$A$2:$G$140,B!$A$2:$G$210)) ="Y",1,0)))
0,"Y",""}

What I want to achieve with this formula is to count how many items as
shown in respective cells in column B,D,F,H,J,L,N,P are bearing 'Y" in G
column in respective table in 'A' worksheet and 'B' worksheet.

Please help !!


Sorry I fail to upload my zip file. I dont know why (note : size <15kb)




--
hkgoodwill
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
Array formula problem Constance Excel Discussion (Misc queries) 3 August 22nd 06 06:03 PM
Problem w/Array Formula danw Excel Worksheet Functions 2 August 1st 06 10:55 PM
Array Formula Problem rmolitor Excel Worksheet Functions 4 December 2nd 05 06:35 PM
array formula problem bill gras Excel Worksheet Functions 6 September 28th 05 04:54 AM
problem with Array Formula OrdOff Excel Worksheet Functions 2 June 30th 05 04:57 PM


All times are GMT +1. The time now is 02:58 PM.

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"