We'd like to remind Forumites to please avoid political debate on the Forum. This is to keep it a safe and useful space for MoneySaving discussions. Threads that are - or become - political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

Excel help please!

Hi all, wondering if you can help me please...

I used to work for a very large company in which their H&S dept that I worked in set up a excel sheet for accident reporting.

the first excel sheet was a standard sheet to keep info on with details such as:
column a1)accident reporting number
b1)title (mr/mrs etc)
c1) first name etc
d1 surname
e1) address
f1) accident


etc

Now I remember when I used to use it in sheet 1 I would use a new row, fill it out and then I would insert the accident number in a box on sheet 2 which would be a pre done letter, (which contained some standard blurb) but by filling out the accident number, it would fill out the name, address, accident etc on the letter so that it could be printed and sent out

does anyone know how to do this as its something I need something very similar at a new job and I just cant work it out!

thanks all!

Comments

  • p00hsticks
    p00hsticks Posts: 14,136 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    I think it could be done using the VLOOKUP function ?
  • thanks for that! Shall have a play and see what I can do! :)
  • its not Vlookup and its not mail merge... any other ideas please?
  • johnmc
    johnmc Posts: 1,265 Forumite
    edited 18 October 2013 at 2:47PM
    In the second sheet select where you want the title to go and type "=" (without the quotes), go to the 1st sheet and select the the cell you're interested in.

    Repeat for each field.
  • CAN1976
    CAN1976 Posts: 263 Forumite
    Sounds like macros maybe?
  • bonkers007 wrote: »
    its not Vlookup and its not mail merge... any other ideas please?

    Regardless of what it was, it's the VLOOKUP function you want. You could also use the DGET function just as easily.

    Personally, in both cases I'd get the results in a single row on Sheet2 and then use those cells as dependents for the letter fields.
  • cookie365
    cookie365 Posts: 1,809 Forumite
    If it wasn't done with VLOOKUP, it should have been.

    Though the fact that the letter itself gets produced in Excel and not as a mail merge in Word suggests it's probably about 8000 nested IF statements ;)
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 349K Banking & Borrowing
  • 252.4K Reduce Debt & Boost Income
  • 452.7K Spending & Discounts
  • 242K Work, Benefits & Business
  • 618.5K Mortgages, Homes & Bills
  • 176.1K Life & Family
  • 254.9K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 15.1K Coronavirus Support Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.