![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 2
|
I have a row of data,and wish to countif from the 1st entry to the nth where n is a variable dependent on other calculations.
I can display the range as text but if I reference the tect in the formula it doesn't like it I have tried T(),Text(), Value() etc but it just doesn't want to know. FYI the formula for the range is ="B"&ROW()&":"&ADDRESS(ROW(),BJ4)where BJ4 is the value n (when n=9 this formula in row 4 gives B4:I4 my data is in Row 4 from B4 to ad4) HELP! [ This Message was edited by: austina on 2002-05-15 12:26 ] |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
Try with INDIRECT
|
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Posts: 2
|
OK...... Do I feel soooooo stoopid!!!!! I had tried Indirect already but it still didn't work. However the breath of fresh air and a new wall to bounce my head off did the trick.... my problem lay not with the range but with the criteria which SHOULD have been in Quotation marks. Thanks for the help.. I'll be back!
|
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|