Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Arturo
 
Posts: n/a
Default Concatenation in a CountIf

I have a formula that returns a number in cell A4.
Another formula in cell K2, =COUNTIF(K13:K301,"1").
From the result in cell A4, is there a way to concatenate that into the
section of K2s formula replacing the 301 with A4s result?

Stumped by syntax,
Arturo
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default Concatenation in a CountIf

=COUNTIF(INDIRECT("K13:K"&A4),"1")


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Arturo" wrote in message
...
I have a formula that returns a number in cell A4.
Another formula in cell K2, =COUNTIF(K13:K301,"1").
From the result in cell A4, is there a way to concatenate that into the
section of K2's formula replacing the 301 with A4's result?

Stumped by syntax,
Arturo



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Concatenation in a CountIf

=COUNTIF(K13:INDIRECT("K"&A4),1)


--

Regards,

Peo Sjoblom

"Arturo" wrote in message
...
I have a formula that returns a number in cell A4.
Another formula in cell K2, =COUNTIF(K13:K301,"1").
From the result in cell A4, is there a way to concatenate that into the
section of K2's formula replacing the 301 with A4's result?

Stumped by syntax,
Arturo



  #4   Report Post  
Ron Coderre
 
Posts: n/a
Default Concatenation in a CountIf

Would this work for you?:
=COUNTIF(INDIRECT("K13:K"&$A$4),"1")

€¢€¢€¢€¢€¢€¢€¢€¢€¢€¢
Regards,
Ron


"Arturo" wrote:

I have a formula that returns a number in cell A4.
Another formula in cell K2, =COUNTIF(K13:K301,"1").
From the result in cell A4, is there a way to concatenate that into the
section of K2s formula replacing the 301 with A4s result?

Stumped by syntax,
Arturo

  #5   Report Post  
 
Posts: n/a
Default Concatenation in a CountIf

Have a look at INDIRECT

eg. =COUNTIF(INDIRECT("K13:K"&A4),"1")

hth RES
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
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM
countif, again Liz G Excel Worksheet Functions 2 November 1st 04 11:20 PM


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