Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
frank
 
Posts: n/a
Default compare cell a1 & b1. if dig 1<2 ina1 &dig 1<2 in b1 then val = 1

on excel w/s
Chelsea 10 Charlton 10 3
AstonVilla 12 ManCity 22 chk
Blackburn 13 Fulham 31 chk
CrystalPal 22 Southpton 23 chk
using IF fx, I know how to give 3 points to the win. want to also be able to
score the win = 1 point and the loss = 0 points. need to compare dig values
in a cell in relation to digit values in other cells and give it a value ???
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

put it in 3 cells, like

A2: Chelsea
B2: Charlton
C2: score (n-n), and format this column as text

Then use

=IF(LEFT(C2,FIND("-",C2)-1)=MID(C2,FIND("-",C2)+1,2),1,IF(LEFT(C2,FIND("-",C
2)-1)MID(C2,FIND("-",C2)+1,2),3,0))
for home team points
=IF(LEFT(C2,FIND("-",C2)-1)=MID(C2,FIND("-",C2)+1,2),1,IF(LEFT(C2,FIND("-",C
2)-1)MID(C2,FIND("-",C2)+1,2),0,3))
for away team points

--
HTH

Bob Phillips

"frank" wrote in message
...
on excel w/s
Chelsea 10 Charlton 10 3
AstonVilla 12 ManCity 22 chk
Blackburn 13 Fulham 31 chk
CrystalPal 22 Southpton 23 chk
using IF fx, I know how to give 3 points to the win. want to also be able

to
score the win = 1 point and the loss = 0 points. need to compare dig

values
in a cell in relation to digit values in other cells and give it a value

???


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
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
How can I get a cell locked if the condition is false? FareedAhmed76 Excel Worksheet Functions 1 February 18th 05 01:49 PM
Can a Formula in Cell X modify Cell Y? alMandragor Excel Discussion (Misc queries) 7 February 10th 05 09:51 PM
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 07:18 AM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 08:29 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"