Formula Problem.

rusty21

New Member
Joined
Dec 31, 2012
Messages
37
Good Morning All,

I am trying to format a sheet I have for the football team I run.

I have a score sheet and want to automatically pull data from it using W,L D (Win, Loss, Draw) this data is in E21, so that I can automatically make a table showing the results. I have used the formula below:

=IF(E19>E20,"W",IF(E19<E20,"L",IF(E19=E20,"D",)))

The problem I have is that the cells that have not been filled in (as we have not played the games) are showing a D and skewing the data.

How can I write into this that if the cell is blank to leave E21 blank (or enter an X) if there is no data entered?

Thank you in advance.
Rusty
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Sorry it did not copy whole formula not sure how to do it. As it will not copy the whole thing. Reply<e20,"l",if(e19=e20,"d",)))< html=""></e20,"l",if(e19=e20,"d",)))<>
 
Last edited:
Upvote 0
Hi,

Something like this?

<=IF(OR(E19="",E20=""),"",IF(E19>E20,"W",IF(E19=E20,"D",IF(E19<E20,"L"))))>
 
Upvote 0
Hi,

Something like this?

=IF(OR(E19="",E20=""),"",IF(E19>E20,"W",IF(E19=E20,"D",IF(E19<e20,"l"))))>

Oops, I just made the same mistake as you!
</e20,"l"))))>
=IF(OR(E19="",E20=""),"",IF(E19 > E20,"W",IF(E19=E20,"D",IF(E19 < E20,"L"))))
 
Upvote 0
=if(e19">"e20,"w",if(e19"<"e20,"l",if(e19=e20,"d",)))

=IF(E19 > E20, "w", IF(E9 < E20, "l", IF(E19 = E20, "d",)))

This is apparently your formula...

Something like this:

=IF(COUNT(E19:E20)=2, IF(E19 > E20, "w", IF(E19 < E20, "l", "d")), "")

seems to be on your mind.
 
Upvote 0

Forum statistics

Threads
1,223,157
Messages
6,170,420
Members
452,325
Latest member
BlahQz

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
Back
Top