Excel - IF Function Problem - Expert Solution

Question description:
This user has given permission to use the problem statement for this blog.

On the Cities worksheet, click cell E13. Depending on the city, you will either take a shuttle to/from the airport or rent a car. Insert an IF function that compares to see if Yes or No is located in the Rental Car? Column for a city. If the city contains No, display the value in cell F2. If the city contains Yes, display the value in the Rental Car Total (F4). Copy the function from cell E13 and use the Paste Formulas option to copy the function to the range E14:E18 without removing the border in cell E18.
Solved by M. J. in 18 mins
This is the chat thread from the real Excelchat help session. It contains no private user information.
Excelchat Expert 03/10/2018 - 04:42
Good Morning
Excelchat Expert 03/10/2018 - 04:42
Hope you are doing good
Excelchat Expert 03/10/2018 - 04:42
I read your problem and can ensure you for the proper solution
Excelchat Expert 03/10/2018 - 04:43
Do you have any data or you want me to do this on this blank spreadsheet?
User 03/10/2018 - 04:43
Destination City City Type Rental Car? Airfare Shuttle or Rental Lodging Meals Total Cost Boston 3 No $367 $375 Miami 2 Yes 392 330 Orlando 1 Yes 299 285 Philadelphia 3 No 479 375 San Antonio 1 Yes 218 285 Washington DC 4 No 469 420
Excelchat Expert 03/10/2018 - 04:44
Would you please enter some data into this blank spreadsheet?
Excelchat Expert 03/10/2018 - 04:44
So that I can help you in a better way?
Excelchat Expert 03/10/2018 - 04:45
Thank you for entering the data here. Let me have a look
Excelchat Expert 03/10/2018 - 04:45
Please allow me few minutes
Excelchat Expert 03/10/2018 - 04:50
So here I calculated it
Excelchat Expert 03/10/2018 - 04:50
Can you please verify and advise, if it is correct?
Excelchat Expert 03/10/2018 - 04:50
So that I can proceed further to explain you the solution
Excelchat Expert 03/10/2018 - 04:51
Please advise, if you are with me
Excelchat Expert 03/10/2018 - 04:52
I have created a if formula which is referring to cell F2 and F4 depending on No and Yes status respectively in Rental Car column
User 03/10/2018 - 04:53
okay, yes i got it
Excelchat Expert 03/10/2018 - 04:53
As you are aware that we have limited time window, it would be great if you could advise about the solution. So that I can explain it in timely manner.
Excelchat Expert 03/10/2018 - 04:53
So I would like to explain the solution
User 03/10/2018 - 04:53
On the Cities worksheet, click cell F13. The lodging is based on a multiplier by City Type. Some cities are more expensive than others. Insert a VLOOKUP function that looks up the City Type (B13), compares it to the City/COL range (A7:B10), and returns the COL percentage. Then multiply the result of the lookup function by the Total Base Lodging (B5) to get the estimated lodging for the first city. Copy the function from cell F13 and use the Paste Formulas option to c opy the function to the range F14:F18 without removing the border in cell F18.
Excelchat Expert 03/10/2018 - 04:55
You need to either join a new session or extend this session for a new query. As our company policy allows to answer one query per session. I am sorry about it. Are you game for extending the session?
Excelchat Expert 03/10/2018 - 04:56
Please advise and also advise, if I should explain the solution for your first query
Excelchat Expert 03/10/2018 - 04:57
Are you there with me?
Excelchat Expert 03/10/2018 - 04:58
As you are aware that we have limited time window, could you please advise, if you want to extend this session for your second query?
User 03/10/2018 - 04:58
no thank you
Excelchat Expert 03/10/2018 - 04:59
Okay I hope that it solves your problem and let me know, if there is anything else I can assist with for this problem or solution
Excelchat Expert 03/10/2018 - 05:00
Thank you so much for joining the excel chat session today. I wish you a great day ahead. Looking forward to see you back on this excel chat session.

This is the output file from the real Excelchat help session:
This is an example of the expert help you can get. It contains no private user information.

Get instant expert help with Excel and Google Sheets

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Your privacy is guaranteed. Your session will not be used for blog unless you give us persmission.

Click here to get your free Excelchat help session

Subscribe to Excelchat.co
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
The Allstate Corporation
United Parcel Service
Dell Inc