Board 8 > Can someone super knowledgeable on Excel functions help me out?

Topic List
Page List: 1
Menji76
02/19/12 1:15:00 AM
#1:


Trying to figure out the formula for something, hopefully it exists.


Example:

1. Twenty entries (20 cells), they contain one of three words.
2. I want to be able to type in the correct word into a cell.
3. I need a formula that matches the words and if they're the same, spit out a number into another cell and if they're not then spit out a zero into another cell.

Is this possible?

--
Menji - Sign My Petition for "Search By Username"
http://www.gamefaqs.com/boards/7-site-suggestions/55168396
... Copied to Clipboard!
baron von toast
02/19/12 1:29:00 AM
#2:


So the correct word is a cell, and you're checking each of the 20 entries to see if they match that word? I think a regular IF formula works, yes?

=IF(A1=B1,truenumber, falsenumer)
where A1is the test word cell and B1 is the correct cell.

--
.
... Copied to Clipboard!
Menji76
02/19/12 1:32:00 AM
#3:


Excellent!

Now... it's working in excel but when I try to do it in Google Spreadsheet it just keeps the formula and doesn't show the value I want...

Any idea on that?

--
MENJI http://i.imgur.com/a8MU1.png
by Lisel: http://img.imgcake.com/Menjipngmy.png
... Copied to Clipboard!
WiggumFan267
02/19/12 1:33:00 AM
#4:


In Excel, copy your values and right click -> Paste special -> Paste as Values

then try bringing it over

--
~Wigs~
New York FOOTBALL Giants: SUPER BOWL XLVI CHAMPIONS
... Copied to Clipboard!
Menji76
02/19/12 1:34:00 AM
#5:


WIGS I NEED TO BE ABLE TO DO THIS LIVE

I can't be copying and pasting!

--
Menji~ and you could write a Bad Romance
http://img686.imageshack.us/img686/508/badk.gif
... Copied to Clipboard!
foolm0ron
02/19/12 2:10:00 AM
#6:


There's a button on the far right of the Formula Bar that says "show all formulas"

If that's on, you won't see the evaluated value of the function

--
_foolmo_
'he says listen to my story this maybe are last chance' - ertyu quoting Tidus
... Copied to Clipboard!
Menji76
02/19/12 2:17:00 AM
#7:


heh, I had clicked that earlier thinking it would list all the formulas to use.


nice

--
Menji - www.last.fm/user/menjii
You got to put me on. Come on! Come on!
... Copied to Clipboard!
Menji76
02/19/12 3:19:00 AM
#8:


Okay new one.

Say some of the values coming out are 0, 1, 2, or 3. If I want to count the cells that are not 0 what would I use? I have this but I get an N/A:

=if(E9:O9,Q9:Z9,AB9:AD9>0,count(E9:O9,Q9:Z9,AB9:AD9),0)

--
Menji - www.last.fm/user/menjii
You got to put me on. Come on! Come on!
... Copied to Clipboard!
-LusterSoldier-
02/19/12 3:51:00 AM
#9:


If you don't have numbers in P9 and AA9, you could use this formula:

=COUNTIF(E9:AD9,">0")

Okay, I simplified the formula. Earlier, I had a more complicated formula that still gets the job done.

--
Luster Soldier --- ~Shield Bearer~ | ~Data Analyst~
Popular at school, but not as cool as SuperNiceDog, Guru Champ!
... Copied to Clipboard!
Menji76
02/19/12 3:53:00 AM
#10:


I do, but I was able to tweak that so it works.

=COUNTIF(AB9:AD9, 1)+COUNTIF(Q9:Z9, 2)+COUNTIF(E9:O9, 3)

Thanks!!

--
MENJI http://i.imgur.com/a8MU1.png
by Lisel: http://img.imgcake.com/Menjipngmy.png
... Copied to Clipboard!
Topic List
Page List: 1