for example i want to assign value "1" for letter "A".
for example i want to assign value "1" for letter "A".
May need more details but try this
![]()
Please Login or Register to view this content.
Hi,
Are you referring to a VBA variable or an Excel Application variable?
If the former then just Dim an 'A' variable and set it to '1'.
Otherwise create a range name called 'A' and in the 'refers to' box enter '=1'
Now you can use '=A' anywhere in your sheet or formulae and return the value 1
Rgds
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star iconbelow the post.
what i want is to assign a value for A for example. And use the count function to add the repeated As from that worksheet in another cell
To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.
If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.
Keep it simple...
Doing this will ensure you get the result you need!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks