Dhardingsea
Nov 16, 2022Copper Contributor
IF statement more than 64; Macro?
Hello thanks for taking a moment to try to help me.
I am working on a spreadsheets that I am hoping to simplify.
What I am looking for is a function that will read a cell and then imput a value into another cell depending on whats in the first.
I was hoping to use a simple if statement string however I have about 120 statements. Quite more than the nesting limit of 64.
Here is an example:
County ID -- Fee
If "County ID" = Lee, Fee =48.50
If "County ID" = Howard, Fee = 33.50
--Continued for more county names and fees--
I thought possibly to make two macros that would do 64 counties and then just run one than the other, I fear that would cause error or risk of missing something.