#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Indirect II

Is it possible to combine the formula

=COUNT.IF($B$5:$B$44;"*("&$AN5&")*")

with INDIRECT in order to change the 44 in B44 into any (line-)number?
The numbers will be placed in cell AO37.

Thank you.

--
Felix
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Indirect II

You could use

=COUNTIF(OFFSET(B5,0,0,$AM5,1);"*("&$AN5&")*")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Felix" wrote in message
...
Is it possible to combine the formula

=COUNT.IF($B$5:$B$44;"*("&$AN5&")*")

with "INDIRECT" in order to change the 44 in B44 into any (line-)number?
The numbers will be placed in cell AO37.

Thank you.

--
Felix



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Indirect II

Sorry, I cannot get it...

Maybe I should have explained better:

in the formula =COUNT.IF($B$5:$B$44;"*("&$AN5&")*")

what changes is the 44 (line)

I need this number used in the formulae to be in cell AO37.

Sorry for the confusion.

--
Felix


"Bob Phillips" wrote:

You could use

=COUNTIF(OFFSET(B5,0,0,$AM5,1);"*("&$AN5&")*")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Felix" wrote in message
...
Is it possible to combine the formula

=COUNT.IF($B$5:$B$44;"*("&$AN5&")*")

with "INDIRECT" in order to change the 44 in B44 into any (line-)number?
The numbers will be placed in cell AO37.

Thank you.

--
Felix




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Indirect II

That should work fine

=COUNTIF(OFFSET(B5,0,0,$AO37,1);"*("&$AN5&")*")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Felix" wrote in message
...
Sorry, I cannot get it...

Maybe I should have explained better:

in the formula =COUNT.IF($B$5:$B$44;"*("&$AN5&")*")

what changes is the 44 (line)

I need this number used in the formulae to be in cell AO37.

Sorry for the confusion.

--
Felix


"Bob Phillips" wrote:

You could use

=COUNTIF(OFFSET(B5,0,0,$AM5,1);"*("&$AN5&")*")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Felix" wrote in message
...
Is it possible to combine the formula

=COUNT.IF($B$5:$B$44;"*("&$AN5&")*")

with "INDIRECT" in order to change the 44 in B44 into any
(line-)number?
The numbers will be placed in cell AO37.

Thank you.

--
Felix






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Indirect II

Hi Bob,


I could make it work, somehow...but I have to enter the line plus 1! This
means that the range is one line shorter. No idea why.

I can live with that, however, I simply use cell AO38 as the input and in
cell AO37 I use the formula =AO38+1.
--
Many thanks

Felix


"Bob Phillips" wrote:

That should work fine

=COUNTIF(OFFSET(B5,0,0,$AO37,1);"*("&$AN5&")*")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Felix" wrote in message
...
Sorry, I cannot get it...

Maybe I should have explained better:

in the formula =COUNT.IF($B$5:$B$44;"*("&$AN5&")*")

what changes is the 44 (line)

I need this number used in the formulae to be in cell AO37.

Sorry for the confusion.

--
Felix


"Bob Phillips" wrote:

You could use

=COUNTIF(OFFSET(B5,0,0,$AM5,1);"*("&$AN5&")*")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Felix" wrote in message
...
Is it possible to combine the formula

=COUNT.IF($B$5:$B$44;"*("&$AN5&")*")

with "INDIRECT" in order to change the 44 in B44 into any
(line-)number?
The numbers will be placed in cell AO37.

Thank you.

--
Felix






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
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions Mike Barlow Excel Worksheet Functions 7 May 21st 23 07:42 PM
INDEX("a"&COLUMNS(INDIRECT(A1):INDIRECT(A2)):A30,4) Dave F[_2_] Excel Discussion (Misc queries) 3 September 20th 07 08:36 PM
Can I use INDIRECT.EXT for this? Jay Nichols Excel Worksheet Functions 2 October 22nd 06 05:13 PM
INDIRECT !@%? Arturo Excel Worksheet Functions 2 April 25th 06 07:35 PM
Help with INDIRECT() Sophat Excel Discussion (Misc queries) 1 August 4th 05 09:12 PM


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

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"