IF Cell A1 = Home, Cell A2 should change to 123

C

Chris

Hi All,

I’m doing a spreadsheet where I have a list of Office locations, when I
choose a location I would like the relevant server name to appear in the cell
of my choosing (i.e. C3)

I’m not sure how to go about this and was wondering if anyone knows the
formula, or if this is Evan possible?

Regards,
Chris
 
P

Pete_UK

What you should do is to list all possible Office locations and the
server name you want to associate with each. Put this in a table
somewhere - suppose it occupies X1:Y10.

Then in C3, with the office location in A3, you can put this formula:

=VLOOKUP(A3,X$1:Y$10,2,0)

This can be copied down if you have other office locations in column
A.

Hope this helps.

Pete
 
C

Chris

Thanks Pete,

This worked a treat!

Pete_UK said:
What you should do is to list all possible Office locations and the
server name you want to associate with each. Put this in a table
somewhere - suppose it occupies X1:Y10.

Then in C3, with the office location in A3, you can put this formula:

=VLOOKUP(A3,X$1:Y$10,2,0)

This can be copied down if you have other office locations in column
A.

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top