Hello,
I need to write a code to accomplish a task in excel but I have almost zero VBA knowledge and I am trying to learn. If anybody could provide some guidance on how I would have to proceed it would be greatly appreciated.
What I am trying to create is the following: I have a database with sales figures for store locations from 2000 - 2020. What I would like to happen is IF the sum of the values in the years (2000-2004) is equal to zero (because the stores had not yet opened), for excel to copy the corresponding store name(located in Column A) and paste it in Column A of a new tab (let's say Sheet2). Moreover, I need this to be such that every time that I run the macro the store names in Column A of Sheet2 get completely replaced by the new names but only for a certain range in the column.
Any assistance would be highly appreciated.
Bookmarks