Results 1 to 6 of 6
Thread: Excel help (involving IF function)
-
- Join Date
- 01-28-07
- Location
- Arizona
- Posts
- 13,490
- Post Thanks / Like
- Blog Entries
- 5
01-17-10, 02:05 AM #1Excel help (involving IF function)
okay so i'm trying to make this spreadsheet less typing require (so to speak). Now i think excell can do this (it better be able to) but need helping knowing how to tell it i want it to do this:
If C25>D26, then put Win in E26
If D26>C26, then put Loss in E26
If C26=D26, then put Draw in E26.
Now i've figured out how to set it up to do the win/loss bit, but can't get the draw part set up in that function. Any suggestions?
-
01-17-10, 02:35 AM #2
Re: Excel help (involving IF function)
Nested ifs are your friend. Change the field values as needed:
Code:=IF(A1=A2;"Draw";IF(A1>A2;"Win";"Loss"))
Draco
-
-
- Join Date
- 01-28-07
- Location
- Arizona
- Posts
- 13,490
- Post Thanks / Like
- Blog Entries
- 5
-
01-17-10, 10:50 AM #5
Re: Excel help (involving IF function)
I use a copy of OpenOffice, and their IF function uses semi-colons; changing them to commas should make it work.
Also, did you really intend to use C25 and not C26 in the Win calc?
Further also, you can change Scotzo's code:
Originally Posted by Scotzo
ie,
Code:=IF(C26>D26,"Win",IF(D26>C26,"Loss","Draw"))
-
- Join Date
- 01-28-07
- Location
- Arizona
- Posts
- 13,490
- Post Thanks / Like
- Blog Entries
- 5
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks