ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Replacing "IF" or "LOOKUP" formula's with VBA Function? (https://www.excelbanter.com/excel-programming/395263-replacing-if-lookup-formulas-vba-function.html)

dhunter43

Replacing "IF" or "LOOKUP" formula's with VBA Function?
 
I have 2 worksheets; InputForm and Formulas.
Cells B14:b25 in the InputForm worksheet are drop down lists that deliver a
value in the corresponding cells c14:c25.
Cells M1:AC1 in the Formulas worksheet are the same as the drop down list in
the InputForm worksheet. I need to populate cells M2:AC2 with the data from
InputForm C14:c25 based on user selection.
90% of the time there will be several cells left blank in InputForm b14:c25
and I would like to return a "0" in Formulas("M2:AC2") if an operation
isn't selected.
If there are any questions I am off to work for the evening but will respond
tomorrow.

Thank you,
dhunter43
The Performance Advantage, LLC


All times are GMT +1. The time now is 05:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com