Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
markag
 
Posts: n/a
Default Trouble with selecting multiple ranges of data

I'm using the countif function and I need some help.
I have several rows of data but I don't want to use them all.
I have a problem though, because I can't arrange the data so
the rows I want are all together.
Lets say my data starts in row 1 and ends in row 6,
I only want rows 2, 4, & 6. I have tried holding ctrl and selecting
just those rows, but it separates the ranges with commas and I think that is
what is messing up the function. COUNTIF separates its data from the
criteria using a comma. I tried placing ( ) around my data but that didn't
work either.
Can someone help please.
The function I am using is the array function:
=MAX(IF(COUNTIF(Rannge, Range) 0, Range))
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Trouble with selecting multiple ranges of data

=MAX(IF(MOD(ROW(A1:A6),2)=0,A1:A6))

perhaps

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"markag" wrote in message
...
I'm using the countif function and I need some help.
I have several rows of data but I don't want to use them all.
I have a problem though, because I can't arrange the data so
the rows I want are all together.
Lets say my data starts in row 1 and ends in row 6,
I only want rows 2, 4, & 6. I have tried holding ctrl and selecting
just those rows, but it separates the ranges with commas and I think that

is
what is messing up the function. COUNTIF separates its data from the
criteria using a comma. I tried placing ( ) around my data but that

didn't
work either.
Can someone help please.
The function I am using is the array function:
=MAX(IF(COUNTIF(Rannge, Range) 0, Range))



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
markag
 
Posts: n/a
Default Trouble with selecting multiple ranges of data

I don't konw if that is going to work or not

my data looks something like this

* 5 4 8 1 9 5 1 5 3 1 8 5
1 1 8 3 1 4 8 5 3 1 1 1
2 5 4 3 5 1 6 8 4 9 1 1
* 4 5 4 4 8 3 1 6 7 6 4 8
1 1 8 3 1 4 8 5 3 1 1 1
2 5 4 3 5 1 6 8 4 9 1 1

I only can use the rows with the * next to them. The other data pertains to
something else. I need to select the entire row for each needed row to make
up my range. My function that I've been using works fine for what I need to
calculate, I just don't know how to make it work with the way my data is
arranged.


"Bob Phillips" wrote:

=MAX(IF(MOD(ROW(A1:A6),2)=0,A1:A6))

perhaps

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"markag" wrote in message
...
I'm using the countif function and I need some help.
I have several rows of data but I don't want to use them all.
I have a problem though, because I can't arrange the data so
the rows I want are all together.
Lets say my data starts in row 1 and ends in row 6,
I only want rows 2, 4, & 6. I have tried holding ctrl and selecting
just those rows, but it separates the ranges with commas and I think that

is
what is messing up the function. COUNTIF separates its data from the
criteria using a comma. I tried placing ( ) around my data but that

didn't
work either.
Can someone help please.
The function I am using is the array function:
=MAX(IF(COUNTIF(Rannge, Range) 0, Range))




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
Displaying single and multiple data series.Single data series Donald Macleod Charts and Charting in Excel 2 January 30th 06 02:52 AM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Macro that will add data from multiple workbooks to the 1st open r jbsand1001 Excel Discussion (Misc queries) 0 April 23rd 05 07:52 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Named dynamic ranges, copied worksheets and graph source data WP Charts and Charting in Excel 1 November 28th 04 05:19 PM


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