Make Formula ignore blank cells

satch

New Member
Joined
Aug 16, 2004
Messages
22
Hi all, need help regarding how to make a formula ignore blank cells. I have formulas within a worksheet that looks at the values contained within a row of cells and then compares them with the values in the next row. There are 3 formulas, the first looks to see if the values in the upper row are larger, the second looks for larger values in the lower row and the third looks for matching values. The following shows how i am employing these in my worksheet, basically i'm analysing football results and the formulas give me a breakdown of games won, lost and drawn. The trouble i'm having is that the third formula that looks for matches is comparing blank cells with blank cells and so is distorting my results. How do i get it to ignore blank cells. I've searched through the message boards but after reading through them i'm not sure whether to use Isblank or Isnumber or whatever.
Any help will be greatly appreciated.

An example of my worksheet, the data being analysed is row C5:U5 compared with C6:U6
Footy Tables Rev2a.xls
ABCDEFGHIJKLMNOPQRSTU
5ArsenalH2012222052421431223
6A0001111001211121010
7AstonVillaH0201230323010002113
8A2221120001012201002
04 - 05 SCORES


This is where the formulas are, all are fine if the data range contains data in every cell. However, when i clear the contents to input new data my formula for counting draws, cell AM5, is counting blanks. Not what i want.
Hope i've made things clear, thanks in advance.
Footy Tables Rev2a.xls
AIAJAKALAMAN
3TOTHWHLDraw
4
5191504
679%0%21%
719946
04 - 05 SCORES


What happens when there is no data, Cell AM5 shows 19 draws. Not what i want.
Footy Tables Rev2a.xls
AIAJAKALAMAN
3TOTHWHLDraw
4
5190019
60%0%100%
719946
04 - 05 SCORES
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Thanks fairwind, that did the trick. Also thanks to everyone else who helped me, once again great work.
Cheers
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,942
Members
449,094
Latest member
teemeren

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