TedX
Board Regular
- Joined
- Apr 18, 2021
- Messages
- 122
- Office Version
- 365
- Platform
- Windows
Hi Everyone,
I scrape up a free publicly available website and gather some very basic information, I add it to a helper page, get rid of the formatting and just have straight data. I switch to my rating worksheet and do a Vlookup and get a positive result as intended. Now my issue is, I have the new rating (just a number) in column AM and I want to create a macro that finds any numbers in column AM as opposed to just the vlookup formula and then compare it to the rating in column AH which is just a number. If the numbers are not equal, then copy the value in column AM and paste it to column AH which is 5 columns to the left (-5).
It's vital that nothing is done to all the other values in the AH column, I only want to change the value in the AH column if a genuine number is on the row in Column AM and providing it's a different number of if there is no number assigned yet to the cell in column AH.
In the image, you can see that the horse named DARLAMAX has a current value of 69 but needs to be downgraded to 65. Can anyone suggest a macro that will do this for me please?
I scrape up a free publicly available website and gather some very basic information, I add it to a helper page, get rid of the formatting and just have straight data. I switch to my rating worksheet and do a Vlookup and get a positive result as intended. Now my issue is, I have the new rating (just a number) in column AM and I want to create a macro that finds any numbers in column AM as opposed to just the vlookup formula and then compare it to the rating in column AH which is just a number. If the numbers are not equal, then copy the value in column AM and paste it to column AH which is 5 columns to the left (-5).
It's vital that nothing is done to all the other values in the AH column, I only want to change the value in the AH column if a genuine number is on the row in Column AM and providing it's a different number of if there is no number assigned yet to the cell in column AH.
In the image, you can see that the horse named DARLAMAX has a current value of 69 but needs to be downgraded to 65. Can anyone suggest a macro that will do this for me please?