ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I combine a VLOOKUP formula and a NETWORKDAYS formula? (https://www.excelbanter.com/excel-worksheet-functions/245401-how-do-i-combine-vlookup-formula-networkdays-formula.html)

Tracy

How do I combine a VLOOKUP formula and a NETWORKDAYS formula?
 
If cell G3 equals "Defer to Network" then I want cell J3 to equal "N/A". If
cell G3 equals "MTF Accept" then I want cell J3 to use a NETWORKDAYS formula
to calculate the difference in days. How do I combine the two formulas?
Thanks.

Fred Smith[_4_]

How do I combine a VLOOKUP formula and a NETWORKDAYS formula?
 
In J3, you want:

=if(g3="Defer to Network","N/A",if(g3="MTF Accept",networkdays(...),"neither
defer nor accept"))

Regards,
Fred.

"Tracy" wrote in message
...
If cell G3 equals "Defer to Network" then I want cell J3 to equal "N/A".
If
cell G3 equals "MTF Accept" then I want cell J3 to use a NETWORKDAYS
formula
to calculate the difference in days. How do I combine the two formulas?
Thanks.



Tracy

How do I combine a VLOOKUP formula and a NETWORKDAYS formula?
 
Wonderful!!! Thank you.

"Fred Smith" wrote:

In J3, you want:

=if(g3="Defer to Network","N/A",if(g3="MTF Accept",networkdays(...),"neither
defer nor accept"))

Regards,
Fred.

"Tracy" wrote in message
...
If cell G3 equals "Defer to Network" then I want cell J3 to equal "N/A".
If
cell G3 equals "MTF Accept" then I want cell J3 to use a NETWORKDAYS
formula
to calculate the difference in days. How do I combine the two formulas?
Thanks.





All times are GMT +1. The time now is 09:44 AM.

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