Hi guys, please help me figure it out MicrosoftTeams-image.png
as shown in the picture i want to copy last value (in E10-E40 range) except 0 which is 111470 by VBA
Hi guys, please help me figure it out MicrosoftTeams-image.png
as shown in the picture i want to copy last value (in E10-E40 range) except 0 which is 111470 by VBA
NOT a VBA solution, but quick and easy:
=LOOKUP(2,1/(E10:E40<>0),E10:E40)
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
I have to use VBA cuz i have to download this file from browser by power automate then i'll run macro to copy this value to another excel
That makes no sense to me - if you are downloading the data into Excel, then yo ucan use a formula!
Anyway, it's up to you.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks