Related:
- Excel data validation formula if statement
- How to copy data from one excel sheet to another - Guide
- Grade formula in excel marksheet - Guide
- Export data from excel - Guide
- Formula to calculate vat in excel - Guide
- Number to words in excel formula - Guide
3 responses
venkat1926
Posts
1863
Registration date
Sunday 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
12 Jul 2009 à 20:41
12 Jul 2009 à 20:41
am not sure whether I have understood your question correctly
according to me no need of a macro
you have validation in the cells E1 to E5 and also F1 to F5
type the following formula in D1
=IF(C1=B1,E1,F1)
if there is not entry in E1 or F1 (that is if you have not used the validation) then D1 will be zero
once you choose a validation is used to enter a value in E1 or F1 then D1 will change accordingly. try some experiments
copyp D1 down upto D5.
according to me no need of a macro
you have validation in the cells E1 to E5 and also F1 to F5
type the following formula in D1
=IF(C1=B1,E1,F1)
if there is not entry in E1 or F1 (that is if you have not used the validation) then D1 will be zero
once you choose a validation is used to enter a value in E1 or F1 then D1 will change accordingly. try some experiments
copyp D1 down upto D5.
I too need an answer for your question,,,, I have asked many no answer yet they say v cant do it, however am confident about excel there has to be a way for it
rizvisa1
Posts
4478
Registration date
Thursday 28 January 2010
Status
Contributor
Last seen
5 May 2022
766
26 Mar 2010 à 12:03
26 Mar 2010 à 12:03
see if this helps
https://ccm.net/forum/affich-269392-dropdown-lists-in-excel-2007
https://ccm.net/forum/affich-269392-dropdown-lists-in-excel-2007
31 Mar 2010 à 04:10