IF , is a type of if then else
IF ( test, TRUE , FALSE )
so you can also nest
as you are happy with this
=IF($J5="","Set currency",IF($M5="Calendar",IFERROR(VLOOKUP($J5,'Foreign Exchange Rates'!$C$2:$F$201,2,FALSE),"No Rate"),"Please Fill Out"))
BUT if cell H5 = yes , then test for that first
IF( H5="yes", 1.0 , IF($J5="","Set currency",IF($M5="Calendar",IFERROR(VLOOKUP($J5,'Foreign Exchange Rates'!$C$2:$F$201,2,FALSE),"No Rate"),"Please Fill Out")))
"1.000000000" is TEXT and will not be seen as a number
if thats what you want
then
otherwise is how many decimal places you format the cell to show
IF( H5="yes", "1.000000000" , IF($J5="","Set currency",IF($M5="Calendar",IFERROR(VLOOKUP($J5,'Foreign Exchange Rates'!$C$2:$F$201,2,FALSE),"No Rate"),"Please Fill Out")))
otherwise I dont understand the question
Note: Images are difficult to see , and also requires that I input all the data myself, which is very time consuming.
A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.
MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.
Excel 'mini-sheet' in messages - XL2BB Although experts prefer to read your description and question instead of working in your actual file to solve your problem, there are times that it is difficult to explain an issue without providing actual...
www.mrexcel.com
You can also test to see if it works ok, in the "Test Here" forum.
Use this forum to test your signature, learn bbcode, smilies, XL2BB, etc. Threads in this forum are automatically deleted after no replies for seven (7) days
www.mrexcel.com
OR if you cannot get XL2BB to work, or have restrictions on your PC , then put the sample spreadsheet onto a share
I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.