Excel Hints & Tips - Mixing Absolute + Relative mode
How do you record a macro that will copy data from a set area on your spread sheet and then paste it into the first available empty row, in an ever increasing list?
Hi, we are Happy
We are leading a movement to create happy, empowered and productive workplaces.
How can we help you and your people to find joy in at least 80% of your work?
In the example below our data is imported into an area of our spread sheet in column B – the Sales Order Form (in yellow). We then wish to copy this data from the yellow area and transpose it as a new record in the first available empty row below any existing records – with the blue field headings in row 2.
Step 1: Start your macro recorder with the setting set to Absolute mode
Step 2: Select the cells to be transposed – cells B3:B11
Step 3: Copy into system memory (Ctr+C)
Step 4: Select the first cell in the existing table where the record is to be transposed – cell E2
Step 5: Move the cursor down to the last record – press Ctr+ (down cursor)
Step 6: Switch the recording to Relative mode
Step 7: Click into the empty cell immediately below (in this example this happens to be E6)
Step 8: Choose, Home à Paste à Transpose (as below)
Step 8: Press Escape
Step 9: Stop Recoding
So by starting at the top of the table and using the Ctr+down-key (in Absolute mode) followed by a switch to Relative mode and then clicking one cell lower, the replay is always able to locate the first empty row wherever it happens to be!
Why not sign up to our newsletter?
Sign up to our monthly newsletter, full of tips, tricks and news to help you to be happier and more productive at work.
Testimonials from happy Customers
Anita Craig2 days ago
Excellent Service. Exciting opportunities, easy access and engaging sessions.
Catherine O'Connell2 days ago
Technology worked well and the training was well organised.
Trusted Customer2 days ago
Trusted Customer3 days ago
Excellent opportunity to pick up some top tips and hear challenges and solutions from colleagues
Trusted Customer3 days ago
All good :)
Mark Barsby3 days ago
The course content was just right and amended to suit cohort requirements. The instructor was extremely experienced and delivered the subject excellently.
Monica Inkpen4 days ago
People centre approached to training. A style that helps training go beyond the classroom.
Julie Hill4 days ago
The two half-days were really informative and Mike managed to get good participation levels from everyone in the group despite the Zoom medium. There was a lot to take in...
Trusted Customer4 days ago
The trainer spoke very clearly and was patient. She kept the group moving together and explained if unable to follow. I liked the idea of keeping conversations neatly u...
Beth Farminer4 days ago
Every course with Happy is a really great experience with a lot of takeaways, good conversations, the ability to learn from other audience members and real life applicati...
Rupert Bolger4 days ago
A very well run course
Ashan Abeywardena4 days ago
this is my second training at happy. i enjoyed the previous one very much, but this one seemed a bit too vague and less useful