What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Excel Functions, HELLLP, PLZ

Pages: (2): « First [ 1 ] 2 » Last »
Excel Functions, HELLLP, PLZ
Author: Message:
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. Excel Functions, HELLLP, PLZ
For The Functions formulae how do u specify something like =countif (a1:a55,BETWEEN 8 AND 10)

i cant seem to work it out and its really starting to bug me now:'(

thanks.

This post was edited on 03-01-2005 at 10:44 PM by M73A.

[Image: lost7ru.gif]
03-01-2005 10:08 PM
Profile E-Mail PM Find Quote Report
Joa
The dodgiest member
****

Avatar

Posts: 799
Reputation: 102
117 / Female / Flag
Joined: Feb 2005
Status: Away
RE: Excel Functions
i am not sure but..
=countif(A1:A55,">8")-countif(A1:A55,">10")

??? :S i'm not sure if this will work i havent used excel in a long long while..

i'm sure it will count the # of values between 8 and 10 in the range you specified though...

EDIT: let me know if it worked *-)

This post was edited on 03-01-2005 at 11:05 PM by Joa.
:bow: gif :bow: <3   

spam.


03-01-2005 11:03 PM
Profile PM Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: Excel Functions, HELLLP, PLZ
hmm good idea,

it adds up the data in the ones that fit the specified countif criteria. hmmm this is confusing, why cant they just have it so you can say between8and10, lol

[Image: lost7ru.gif]
03-01-2005 11:19 PM
Profile E-Mail PM Find Quote Report
Joa
The dodgiest member
****

Avatar

Posts: 799
Reputation: 102
117 / Female / Flag
Joined: Feb 2005
Status: Away
RE: Excel Functions, HELLLP, PLZ
lol, i know, it pissed me off before too. :D

i think there is a shorter formula for this though, but i cant remember it :(
:bow: gif :bow: <3   

spam.


03-01-2005 11:30 PM
Profile PM Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: Excel Functions, HELLLP, PLZ
lol. ok, thansk anyway. hmmm could ask my ict teacher got that tomorrow, normally tell him the bloody answers is the only problem:'(.

[Image: lost7ru.gif]
03-01-2005 11:31 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Excel Functions
quote:
Originally posted by may73alliance
=countif (a1:a55,BETWEEN 8 AND 10)

What do you mean with that?



Do you mean:
- add every cell up from A1 till A55
- check if the total is between 8 and 10
=> =IF(AND(SUM(A1:A55)>8;SUM(A1:A55)<10);"in between";"not ok")

Or do you mean:
- add every cell up from A1 till A55 but only if the cell is between 8 and 10?
=> In this case you need a matrix formula. This is entered a bit different then useuall. Also, this is not commonly known/used!

The formula:
=SUM(IF((A1:A55>8)*(A1:A55<10);A1:A55))
But instead of pressing the useuall <ENTER> after you've typed it, you need to press <CTRL><SHIFT><ENTER>.

If you do this you'll see that Excel will add "{" and "}" around the whole formula. This makes it a matrix formula; the region(s) will depict every element of the matrix separately instead of taking the whole matrix/region. In the formula textbox you'll see:
{=SUM(IF((A1:A55>8)*(A1:A55<10);A1:A55))}

Note: Do NOT add the "{" and "}" manually, it will not work! You need to press <CTRL><SHIFT><ENTER>.

As soon as you edit the formula again, the "{" and "}" will automatically be removed, so you need to press <CTRL><SHIFT><ENTER> again after the edit.

[Image: attachment.php?pid=394160]

Note: the above matrix formula can be achieved with the normal formula:
=SUMIF(A1:A55;">8")-SUMIF(A1:A55;">10")
(this method will not work in all cases. But for this case it does)


EDIT:
Oh... well... I didn't had a look at the thread again before posting (there wasn't any post yet when I started to write)

I forgot that COUNTIF is a valid English Excel formula and didn't linked it to the Dutch formula AANTAL, so I didn't knew what you meant :p... So yes, what Z_Joanna_ZZZ told ya was almost correct:
=COUNTIF(A1:A55;">8")-COUNTIF(A1:A55;">=10")

Notes:
* there is no "shorter" normal formula for this. Unless you make it into a matrix formula like explained above:
{=COUNT(IF((A1:A55>8)*(A1:A55<10);A1:A55))}

* if you meant x should be bigger then 8 and smaller or equal then 10, you must do:
=COUNTIF(A1:A55;">8")-COUNTIF(A1:A55;">10")
or even:
=INDEX(INTERVAL(A1:A55;{8;10});2)
or as a matrix formula:
{=COUNT(IF((A1:A55>8)*(A1:A55<=10);A1:A55))}





PS: pressing F1 when you're cursor is on a formula can help a lot ;)

.gif File Attachment: formula_in_excel.gif (16.19 KB)
This file has been downloaded 190 time(s).

This post was edited on 03-02-2005 at 12:38 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-01-2005 11:44 PM
Profile PM Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: Excel Functions, HELLLP, PLZ
Woah thanks cookie. ive tryed all of them an i get an error saying [Image: attachment.php?pid=394364]

What i am trying to do is count how many blocks have a number between 8 and 10 on them in a specific range.

thanks.

.bmp File Attachment: Error.bmp (24.13 KB)
This file has been downloaded 157 time(s).

This post was edited on 03-02-2005 at 07:41 AM by M73A.

[Image: lost7ru.gif]
03-02-2005 07:40 AM
Profile E-Mail PM Find Quote Report
The_Thief
Senior Member
****

Avatar
The man with a thousand sites :D

Posts: 635
48 / Male / –
Joined: Jul 2003
Status: Away
RE: Excel Functions, HELLLP, PLZ
try http://support.microsoft.com they have a great database for excel
03-02-2005 07:39 PM
Profile E-Mail PM Web Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: Excel Functions, HELLLP, PLZ
oooo, thanks. *on that now*

EDIT: ive got to http://support.microsoft.com/default.aspx/ph/2512?sid=202 but i cant find where it would be. Is there a like technical term for what i'm looking for that i can search for? thanks.

This post was edited on 03-02-2005 at 08:13 PM by M73A.

[Image: lost7ru.gif]
03-02-2005 08:09 PM
Profile E-Mail PM Find Quote Report
saralk
Veteran Member
*****

Avatar

Posts: 2598
Reputation: 38
35 / Male / Flag
Joined: Feb 2003
RE: Excel Functions, HELLLP, PLZ
ok, i just made a simple formula now, it works for me, but its not inclusive

=COUNTIF(A1:H1, ">8")-COUNTIF(A1:H1, "<10")
The Artist Formerly Known As saralk
London · New York · Paris
Est. 1989
03-02-2005 08:22 PM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On