Hello everyone
I have a variable named 'c' and I need to calculate another variable named 'k' according to the following
If c < 100 then k=c
If c >=100 And c<200 then k=c -100
If c >=200 And c<300 then k=c-200
If c >=300 And c<400 then k=c-300
and so on ... till 5000
I know how to use IF and select case but I am searching for a better and easier way for that .. and I am sure there is a way
Thanks advanced for help
Bookmarks