Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default World Cup 2010 spreadsheet

Hi All & Happy Christmas & New Year,
I'm working on a World Cup 2010 spreadsheet.
I've got the group tables & matches sorted out but my problem is as
follows.....

In the group tables I've got the Played, Won, Drawn & Lost etc headings &
the results of each game will be displayed under these headings.
Before any games are played though the tables are all showing that all teams
have Played 3 & Drawn 3 & have 3 Points...........
(I've got seperate reference cells with formulae where the scores determine
Won, Drawn or Lost for each team in each game - A11 is Won, B11 Draw, C11
lost for Team A then I've got the same principle in seperate cells for Team B
on the other side of the fixture).
This is where the problem lies.......
In the Draw cell I'm using =IF(G4=H4,1,0) so even when these two cells are
empty it's seeing this as a TRUE result so it's being called a Draw.
(when I input other scores the table works as it should)
My Question is how can I get the tables to show 0 Draws, 0 Played & 0 Points
before the start of the World Cup) ?

I haven't formatted any cells, I've just gone with default formatting,
should I declare the Score Cells (G4 & H4) as numbers?

I can go into more detail of all relevant cells & formulae used in them to
update the tables.

Thanks in advance for any help on this one
John

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default World Cup 2010 spreadsheet

Hi,
try this

=IF(G4="",0,if(G4=H4,1,0))

"Originalgoth" wrote:

Hi All & Happy Christmas & New Year,
I'm working on a World Cup 2010 spreadsheet.
I've got the group tables & matches sorted out but my problem is as
follows.....

In the group tables I've got the Played, Won, Drawn & Lost etc headings &
the results of each game will be displayed under these headings.
Before any games are played though the tables are all showing that all teams
have Played 3 & Drawn 3 & have 3 Points...........
(I've got seperate reference cells with formulae where the scores determine
Won, Drawn or Lost for each team in each game - A11 is Won, B11 Draw, C11
lost for Team A then I've got the same principle in seperate cells for Team B
on the other side of the fixture).
This is where the problem lies.......
In the Draw cell I'm using =IF(G4=H4,1,0) so even when these two cells are
empty it's seeing this as a TRUE result so it's being called a Draw.
(when I input other scores the table works as it should)
My Question is how can I get the tables to show 0 Draws, 0 Played & 0 Points
before the start of the World Cup) ?

I haven't formatted any cells, I've just gone with default formatting,
should I declare the Score Cells (G4 & H4) as numbers?

I can go into more detail of all relevant cells & formulae used in them to
update the tables.

Thanks in advance for any help on this one
John

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default World Cup 2010 spreadsheet

Thanks Eduardo,

That works a charm.

I've used the "Yes" Button to show that this post answered my question.

Thanks Again & Best Wishes
John


"Eduardo" wrote:

Hi,
try this

=IF(G4="",0,if(G4=H4,1,0))

"Originalgoth" wrote:

Hi All & Happy Christmas & New Year,
I'm working on a World Cup 2010 spreadsheet.
I've got the group tables & matches sorted out but my problem is as
follows.....

In the group tables I've got the Played, Won, Drawn & Lost etc headings &
the results of each game will be displayed under these headings.
Before any games are played though the tables are all showing that all teams
have Played 3 & Drawn 3 & have 3 Points...........
(I've got seperate reference cells with formulae where the scores determine
Won, Drawn or Lost for each team in each game - A11 is Won, B11 Draw, C11
lost for Team A then I've got the same principle in seperate cells for Team B
on the other side of the fixture).
This is where the problem lies.......
In the Draw cell I'm using =IF(G4=H4,1,0) so even when these two cells are
empty it's seeing this as a TRUE result so it's being called a Draw.
(when I input other scores the table works as it should)
My Question is how can I get the tables to show 0 Draws, 0 Played & 0 Points
before the start of the World Cup) ?

I haven't formatted any cells, I've just gone with default formatting,
should I declare the Score Cells (G4 & H4) as numbers?

I can go into more detail of all relevant cells & formulae used in them to
update the tables.

Thanks in advance for any help on this one
John

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2010 to be able to embed like Google Apps? Mad5150 Excel Worksheet Functions 0 December 17th 09 02:42 AM
World Cup 2010 Template George Brown Excel Discussion (Misc queries) 1 December 5th 09 08:53 PM
how can Activate Microsoft Office 2010? mohammad Excel Discussion (Misc queries) 1 November 1st 09 06:41 PM
year 2010 not working in IF SLP Excel Discussion (Misc queries) 2 December 13th 07 06:29 PM
World cup spreadsheet help devonpie Excel Worksheet Functions 7 June 8th 06 10:30 PM


All times are GMT +1. The time now is 05:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"