Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Juniper
 
Posts: n/a
Default analysing data from alternate columns using the countif function

I want to analyse data from alternate columns using the countif function and
even though clicking in the formula bar shows exactly the columns I want, the
analysis picks up the columns in between too. I've solved it for the moment
by changing the codes for the second data set but that seems clumsy and excel
looks as though it should do the job. Any hints please?
  #2   Report Post  
Alan Beban
 
Posts: n/a
Default

Juniper wrote:
I want to analyse data from alternate columns using the countif function and
even though clicking in the formula bar shows exactly the columns I want, the
analysis picks up the columns in between too. I've solved it for the moment
by changing the codes for the second data set but that seems clumsy and excel
looks as though it should do the job. Any hints please?


if the functions in the freely downloadable file at
http:/home.pacbell.net/beban are available to your workbook, then for
even columns

=ArrayCountIf(ArrayAlternates(D1:G4,FALSE,FALSE),3 ) and for odd columns

=ArrayCountIf(ArrayAlternates(D1:G4,,FALSE),3)

Alan Beban
  #3   Report Post  
Juniper
 
Posts: n/a
Default

Thanks Alan, I'll give that a go

"Alan Beban" wrote:

Juniper wrote:
I want to analyse data from alternate columns using the countif function and
even though clicking in the formula bar shows exactly the columns I want, the
analysis picks up the columns in between too. I've solved it for the moment
by changing the codes for the second data set but that seems clumsy and excel
looks as though it should do the job. Any hints please?


if the functions in the freely downloadable file at
http:/home.pacbell.net/beban are available to your workbook, then for
even columns

=ArrayCountIf(ArrayAlternates(D1:G4,FALSE,FALSE),3 ) and for odd columns

=ArrayCountIf(ArrayAlternates(D1:G4,,FALSE),3)

Alan Beban

  #4   Report Post  
Juniper
 
Posts: n/a
Default

Either my workbook won't accept the functions or I'm not accessing them
properly. Either way, we're no go for now but many thanks anyway.
Suzanne

"Alan Beban" wrote:

Juniper wrote:
I want to analyse data from alternate columns using the countif function and
even though clicking in the formula bar shows exactly the columns I want, the
analysis picks up the columns in between too. I've solved it for the moment
by changing the codes for the second data set but that seems clumsy and excel
looks as though it should do the job. Any hints please?


if the functions in the freely downloadable file at
http:/home.pacbell.net/beban are available to your workbook, then for
even columns

=ArrayCountIf(ArrayAlternates(D1:G4,FALSE,FALSE),3 ) and for odd columns

=ArrayCountIf(ArrayAlternates(D1:G4,,FALSE),3)

Alan Beban

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
spliting a column of data into multiple columns CiceroCF Excel Discussion (Misc queries) 7 March 25th 05 12:40 AM
Exported Data to excel appearing wrong in Columns lwreece Excel Discussion (Misc queries) 4 March 10th 05 11:03 PM
How do i copy columns of data in notepad into microsoft excel? Jason Excel Discussion (Misc queries) 1 February 10th 05 11:05 PM
How do i copy columns of data in notepad into microsoft excel? Jason Excel Discussion (Misc queries) 1 February 10th 05 09:20 PM
Rearrange data columns in Pivot Table hedrew3 Excel Discussion (Misc queries) 5 February 5th 05 07:44 AM


All times are GMT +1. The time now is 08:50 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"