VLOOKUP()
Hi All,
I am using Excel 2007. My Question is this :- The below function checks whether the account number entered by the user in E15 is valid. If it is it displays,it displays the customer name in F15. How can i amend this function to show that if an account number is not valid ( ie. not found by the lookup function) in F15 the message is displayed thus ' Account number not valid,please try again ', instead as it does now F15 remains blank until a valid account number is entered in E15. All assistance greatfully accepted. =IF(ISNA(VLOOKUP(E15,customers!$A$1:$B$300,2,0))," ",VLOOKUP(E15,customers!$A$1:$B$300,2,0)) FinanceGuru -- Wales - the land of fire breathing dragons and rugby playing wizards. |
VLOOKUP()
=IF(E15="","",IF(ISNA(VLOOKUP(E15,customers!$A$1:$ B$300,2,0)),"Account number
not valid, please try again",VLOOKUP(E15,customers!$A$1:$B$300,2,0))) "Finance Guru" wrote: Hi All, I am using Excel 2007. My Question is this :- The below function checks whether the account number entered by the user in E15 is valid. If it is it displays,it displays the customer name in F15. How can i amend this function to show that if an account number is not valid ( ie. not found by the lookup function) in F15 the message is displayed thus ' Account number not valid,please try again ', instead as it does now F15 remains blank until a valid account number is entered in E15. All assistance greatfully accepted. =IF(ISNA(VLOOKUP(E15,customers!$A$1:$B$300,2,0))," ",VLOOKUP(E15,customers!$A$1:$B$300,2,0)) FinanceGuru -- Wales - the land of fire breathing dragons and rugby playing wizards. |
VLOOKUP()
Thank you Don - much appreciated.
Apologies for the crap spelling,it is just one of those long, hot ,sunny days -- Wales - the land of fire breathing dragons and rugby palaying wizards. "Don Guillett" wrote: =IF(ISNA(VLOOKUP(E15,customers!$A$1:$B$300,2,0))," yourmessage here" -- Don Guillett Microsoft MVP Excel SalesAid Software "Finance Guru" wrote in message ... Hi All, I am using Excel 2007. My Question is this :- The below function checks whether the account number entered by the user in E15 is valid. If it is it displays,it displays the customer name in F15. How can i amend this function to show that if an account number is not valid ( ie. not found by the lookup function) in F15 the message is displayed thus ' Account number not valid,please try again ', instead as it does now F15 remains blank until a valid account number is entered in E15. All assistance greatfully accepted. =IF(ISNA(VLOOKUP(E15,customers!$A$1:$B$300,2,0))," ",VLOOKUP(E15,customers!$A$1:$B$300,2,0)) FinanceGuru -- Wales - the land of fire breathing dragons and rugby playing wizards. |
VLOOKUP()
Many thanks Teethless mama. Much appreciated
-- Wales - the land of fire breathing dragons and rugby palaying wizards. "Teethless mama" wrote: =IF(E15="","",IF(ISNA(VLOOKUP(E15,customers!$A$1:$ B$300,2,0)),"Account number not valid, please try again",VLOOKUP(E15,customers!$A$1:$B$300,2,0))) "Finance Guru" wrote: Hi All, I am using Excel 2007. My Question is this :- The below function checks whether the account number entered by the user in E15 is valid. If it is it displays,it displays the customer name in F15. How can i amend this function to show that if an account number is not valid ( ie. not found by the lookup function) in F15 the message is displayed thus ' Account number not valid,please try again ', instead as it does now F15 remains blank until a valid account number is entered in E15. All assistance greatfully accepted. =IF(ISNA(VLOOKUP(E15,customers!$A$1:$B$300,2,0))," ",VLOOKUP(E15,customers!$A$1:$B$300,2,0)) FinanceGuru -- Wales - the land of fire breathing dragons and rugby playing wizards. |
All times are GMT +1. The time now is 10:36 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com