Dear all,
I have a problem regarding the use of formula in which the range of area checking is a variable.
You can open the attachment to be able to go through with me:
In sheet1 I have table with 12 column and 6 rows (just for an example)
From col I to L, there are header namely INSP, LUBE, TIGH, REPL
The problem are as follow:
For example: I need to tag in column LUBE with "L" if there is the exact database from colum A to D plus column F in Sheet LUBE
The way I do at them moment is using the following code:
- Assuming that active sheet is Sheet1
- All dimension has been declared and known (i.e. lr1)
I found it to be too long and prone to mistake. Because if column A-E need to be added, then I need to alter the code to incorporate new if-syntax. the Can anyone give me suggestion on how to make the code shorter and more efficient.Please Login or Register to view this content.
Bookmarks