Cell reference / /another sheet //

Yury1979

New Member
Joined
Nov 12, 2021
Messages
44
Office Version
  1. 365
Platform
  1. Windows
Hi guys,

Dropdown list created on A15 (screen 1, sheet "Price Quote")
The price should reflect in H15 (screen 1, sheet "Price Quote")
All the data, screen 2, sheet 'Settings"

Can the data from screen 2, be linked to F8 (international of DOmestic flight, screen 3, sheet "Price Quote") and display the price in H15?

Thank you.
 

Attachments

  • 1.jpg
    1.jpg
    149.2 KB · Views: 12
  • 2.jpg
    2.jpg
    205.2 KB · Views: 13
  • 3.jpg
    3.jpg
    62 KB · Views: 12
If i'm not mistaken you want the number of hours put into C9 to automatically change the selection in A15?
Or is it the other way around? or neither?
Trying to understand how you want the value in H15 calculated.
Actually, I want the H15 to be dependant on C9. If I change the number of hours in C9, H15 should calculate according to the frame of hours described on A15. FOr instance, if the parking is 10 hours in C9, H15 should calculate 18 * 10 for international flights or 18 * 20 for domestic.
 
Upvote 0

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
The amount in H15 changes, but I need it to change also when I change C9...

What you want to change inH15?

Like what will you put in C9
And what result you want when you put that amount in C9
 
Upvote 0
What you want to change inH15?

Like what will you put in C9
And what result you want when you put that amount in C9
In C9 I want to change the hours lets say I want to put 9 hours.

In F8 I switch Domestic or International, let say I chose Domestic (=20 per hour)

In F7, for example, let's say the weight will be 12 Tons

In A15 I chose from the drop-down list the option "Parking: VARZ-400 All other turboprop and pistols jets < 10 t. - Up to 11 hours"

the result on H15 - should calculate more than 10 Tones (in F7 we have 12, which is good, falls into the range), and we have in A15 description up to 11 hours
in C9 we put 9 hours, which also falls into the hour's range, as in the description we chose the option - Up to 11 hours"

So basically H15 should take 9 hours from C9, multiplied by the value that corresponds to the dropdown list option "Parking: VARZ-400 All other turboprop and pistols jets < 10 t. - Up to 11 hours" (per each hour in domestic flight = 20)
 
Upvote 0
I believe the original solution * C9 , is what was previously recommended by @Sufiyan97
Excel Formula:
=VLOOKUP($A15,Settings!$A$385:$C$399,IF($F$8="Domestic",2,3),0))*$C$9
This would multiply the dropdown selection (Either Domestic or international) by the value in C9.
It would then be dependent on the correct dropdown selection.

However I believe the real issue is that the domestic rates are not stored as numbers in your reference. they are most likely stored as text ("35.00/hr").

You would need to either remove the " /hr" to perform calculations against them.
or
Use an additional step in the formula to remove the text and convert to number.
Excel Formula:
=VALUE(SUBSTITUTE(VLOOKUP($A15,Settings!$A$385:$C$399,IF($F$8="Domestic",2,3),0),"/hr",""))*$C$9
 
Upvote 0
I believe the original solution * C9 , is what was previously recommended by @Sufiyan97
Excel Formula:
=VLOOKUP($A15,Settings!$A$385:$C$399,IF($F$8="Domestic",2,3),0))*$C$9
This would multiply the dropdown selection (Either Domestic or international) by the value in C9.
It would then be dependent on the correct dropdown selection.

However I believe the real issue is that the domestic rates are not stored as numbers in your reference. they are most likely stored as text ("35.00/hr").

You would need to either remove the " /hr" to perform calculations against them.
or
Use an additional step in the formula to remove the text and convert to number.
Excel Formula:
=VALUE(SUBSTITUTE(VLOOKUP($A15,Settings!$A$385:$C$399,IF($F$8="Domestic",2,3),0),"/hr",""))*$C$9
Nope, I deleted the hrs word already, now its only numbers
 
Upvote 0
Is the correct value showing for the dropdown selection when you remove the "*C9" from the formula?
 
Upvote 0
I believe the original solution * C9 , is what was previously recommended by @Sufiyan97
Excel Formula:
=VLOOKUP($A15,Settings!$A$385:$C$399,IF($F$8="Domestic",2,3),0))*$C$9
This would multiply the dropdown selection (Either Domestic or international) by the value in C9.
It would then be dependent on the correct dropdown selection.

However I believe the real issue is that the domestic rates are not stored as numbers in your reference. they are most likely stored as text ("35.00/hr").

You would need to either remove the " /hr" to perform calculations against them.
or
Use an additional step in the formula to remove the text and convert to number.
Excel Formula:
=VALUE(SUBSTITUTE(VLOOKUP($A15,Settings!$A$385:$C$399,IF($F$8="Domestic",2,3),0),"/hr",""))*$C$9
This is the error I'm getting...
 

Attachments

  • 2021-11-29 21-16-46-Quote test - Excel.jpg
    2021-11-29 21-16-46-Quote test - Excel.jpg
    179 KB · Views: 4
Upvote 0

Forum statistics

Threads
1,216,119
Messages
6,128,946
Members
449,480
Latest member
yesitisasport

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top