SOLVED

Assigning value to the names in a dropdown list

Brass Contributor

Hi,

 

Is there anyway to assign values to the elements of a dropdown list? So that when I select an option from the list, it automatically feed the value to the formula? Please see the attached file.

 

A solution will be much appreciated.

 

Best,

Tooba

7 Replies
best response confirmed by MTooba (Brass Contributor)
Solution

@MTooba 

You may try this...

In G4

=IF(E4="","",IFERROR(VLOOKUP(E4,Table1,2,0),0)*F4)

and then copy it down.

 

@Subodh_Tiwari_sktneer Thank you very much. I think your formula solves my current problem. I might get back to you if there is another problem. Really appreciate your quick response.

You're welcome @MTooba! Glad it worked as desired.

@Subodh_Tiwari_sktneer 

Hi,

 

Please see the attached file. I am trying to calculate the cost in terms of categories. Is there any way to combine the results of different categories in the final sheet?

 

Thank you very much for taking the time.

 

Best regards,

Tooba

@MTooba 

 

You may try this formula on Sheet3

=IF(C6="","",SUMIF(Sheet2!$F$4:$F$10,C6,Sheet2!$H$4:$H$10))

Or you may also insert a Pivot Table like one I inserted on Sheet3 in the attached to get the desired output.

 

 

Hi,

Thank you very much. It is very helpful.

Best,
Tooba

Hi @Subodh_Tiwari_sktneer , its me again.

Hope you are doing well.
Please check the attached file. I need to fix the price of one task for all the staff members this time. Can you please have a look if it can be done?

 

Thank you very much.

 

Best regards,

Tooba

1 best response

Accepted Solutions
best response confirmed by MTooba (Brass Contributor)
Solution

@MTooba 

You may try this...

In G4

=IF(E4="","",IFERROR(VLOOKUP(E4,Table1,2,0),0)*F4)

and then copy it down.

 

View solution in original post