Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Variable reference in countif
Hi there,
A1 contains a formula which gives a number, eg 127 How do I think incorporate this into a countif, eg =countif( E6:E value in A1,"apples") Many thanks. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Variable reference in countif
Use INDIRECT:
=COUNTIF(INDIRECT("E6:E" & A1),"apples") HTH, Paul -- "Libby" wrote in message ... Hi there, A1 contains a formula which gives a number, eg 127 How do I think incorporate this into a countif, eg =countif( E6:E value in A1,"apples") Many thanks. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Variable reference in countif
Another one:
=COUNTIF(E6:INDEX(E:E,A1),"apples") If A1 is empty the entire range, E:E, will be calculated. -- Biff Microsoft Excel MVP "Libby" wrote in message ... Hi there, A1 contains a formula which gives a number, eg 127 How do I think incorporate this into a countif, eg =countif( E6:E value in A1,"apples") Many thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to use VBA variable in COUNTIF function? | Excel Worksheet Functions | |||
Countif a Variable Cell Value | Excel Worksheet Functions | |||
How to use variable in reference | Excel Worksheet Functions | |||
countif variable criteria | Excel Discussion (Misc queries) | |||
variable range countif | Excel Worksheet Functions |