Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
I got a question on COUNTIF. 'keylength = CInt(KeyLengthComboBox.Value) keylength = 3 myCol = 0 For x = 1 To keylength For y = 1 to 26 Sheet10.Cells(y, x) = "=COUNTIF(sheet9!$A:$A,CHAR(66))" Next y Next x Is it possible to replace the $A:$A part to a variable x which represents the whole column 1 to 3 respectively and also replace the CHAR(66) to CHAR(64+y)? If it's possible, what is the correct syntax for doing it? Many thanks. did -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel formula syntax | Excel Worksheet Functions | |||
vba syntax for excel object | Excel Discussion (Misc queries) | |||
syntax for countif when cells fall within a numerical range | Excel Worksheet Functions | |||
What is the syntax for the IF formula in Excel? | Excel Worksheet Functions | |||
Excel Rank syntax | Excel Worksheet Functions |