Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() Hiya everyone, I'm having some trouble getting a VLOOKUP to work in a spreadsheet. I'm designing a spreadsheet for school, which should automatically calculate how much it costs to fly to places etc. Anyway, as I said, I'm having trouble with a VLOOKUP. I want my spreadsheet to calculate how much it costs to fly from City A to City B. I have another sheet called "Prices" which contains 3 columns: Departure City, Arrival City and Price. For example, the first row has "East Midlands, Dubai, £300" So far, so good. However, I also have a flight from East Midlands to London Gatwick and this is where the problem arises. You see, my VLOOKUP only looks into the first column (departure airport) so if, for example, I had chosen East Midlands on my first sheet, it would choose the price attached to the East Midlands to Dubai flight. I can't get it to check out the second column (arrival airport), so it just inserts the first one, whether it's London or Dubai. I would *really* fall in love with anyone who helps me, 'specially since this is due in tomorrow and is worth 30% of my final grade! I know this account gives me a semi-literate appearance, and I apologize if I'm not clear, so just ask if you need anything clarifying. Many thanks, Sam -- SamUK ------------------------------------------------------------------------ SamUK's Profile: http://www.excelforum.com/member.php...o&userid=16709 View this thread: http://www.excelforum.com/showthread...hreadid=319143 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Vlookup finds a blank, but returns a zero - HELP! | Excel Discussion (Misc queries) | |||
Vlookup Syntax Error | New Users to Excel | |||
Need help with modifying VLookUp | Excel Discussion (Misc queries) | |||
carrying a hyper link when using the vlookup function | Excel Worksheet Functions | |||
VLOOKUP not working | Excel Worksheet Functions |