IF Statement - if cell is empty?

Barb54

New Member
Joined
Jun 9, 2007
Messages
12
I have created a spreadsheet for hosting an online tournament. I have an IF statement that basically says "IF(E3="W",B3,D3)".

The code field(E) for the logical check will have either a W for win or L for loss OR nothing which presents a problem, lol. The field needs to remain empty until a winner or looser posts in to the Host. If it's empty, it will still put a nick in the next round spot with my formula as it is right now. So I guess I need another check but not sure how to go about it. I tried OR but it didn't work or my syntax was wrong.

IF E3 is empty, leave the next round player field empty
ELSE if E3="W",D3,B3 is what I want it to do.

I have a sample of the spreadsheet I'm just not sure how to put it on the board, lol. I was going to post it as an attachment but see no way to do that. I downloaded something that was suppose to help but not sure how I'm suppose to use it LOL. OMG, if anyone needs to SEE the file I will post it online if need be as I have my own webspace, sheesh, lol.

Thanks in Advance......................
Barb
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Matty

Well-known Member
Joined
Feb 17, 2007
Messages
3,717
If I've understood what you're trying to do, a Nested IF formula is what you need.

Something like:

Code:
=IF(E3="","",IF(E3="W",B3,D3))

Am I along the right tracks?

Matty
 
Upvote 0

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,961
Office Version
  1. 365
Platform
  1. Windows
I have a sample of the spreadsheet I'm just not sure how to put it on the board, lol.

Have a look at the (currently) 4th item down on the main Excel Questions page.
 
Upvote 0

Barb54

New Member
Joined
Jun 9, 2007
Messages
12
It worked Matty, THANKS!

Thank you so much Matty, that did it! I can see now that my error was one of syntax after all. I had given up on the OR idea and was trying to do nested IF's but couldn't get it right. It was the parenthesis that got me which is typical for me, lol.

HOTPEPPER..........errr, no clue what you are talking about.....4th item on the list had to do with Pivot Tables, lol.

THANKS!!!!
 
Upvote 0

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,961
Office Version
  1. 365
Platform
  1. Windows
No, the 4th item is:

Sticky: How to display your sheet on the board/HTML Maker FAQ
 
Upvote 0

Barb54

New Member
Joined
Jun 9, 2007
Messages
12
I dld HTML Maker but couldn't get it to work

I did download HTML Maker but when I tried to put the spreadsheet in the message it didn't work. After I dropped in the AddIn, Excel went nuts on me and my Office Assistent kept locking up. I had to pop in my CD to get it fixed. I haven't tried to use the AddIn since but maybe next time I post I will.

Thanks,
Barb
 
Upvote 0

Forum statistics

Threads
1,190,646
Messages
5,982,114
Members
439,756
Latest member
alice128

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top