Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
do it
Jan 3, 2006

don't tell me words don't matter!
I have no real knowledge of Excel, but managed to hack this together:

=IF((G9-J9+K9)<>0,"",(G9-J9+K9))

on the basis that the IF function works like this: =IF(test, "action if test is true", "action if test is false")

It's supposed to check to see if (G9-J9+K9) is equal to 0, and if so, display nothing (not just 0 - important workaround for Google Forms) in the cell. If (G9-J9+K9) is not equal to zero, it's supposed to evaluate (G9-J9+K9). Can anyone see what's going wrong here?

do it fucked around with this message at 03:02 on Feb 13, 2010

Adbot
ADBOT LOVES YOU

do it
Jan 3, 2006

don't tell me words don't matter!
Great, thanks! I don't know where I found the <> operator, but it clearly wasn't the right one.

Another hopefully quick question: We're importing a list of user-defined "team names" and want to find out how many times each team is mentioned in the column to determine how many members it has. I know of =COUNTIF, but that seems to require that you know what you're looking for like =COUNTIF(A1:A100,"Red team"). In this case, because there are over 1500 rows of different user-defined team names that aren't preset, it's hard to give COUNTIF any real criteria. Is there a function that will output something like "X mentioned 2 times" "Y mentioned 10 times"?

do it fucked around with this message at 06:12 on Feb 13, 2010

do it
Jan 3, 2006

don't tell me words don't matter!
I have two lists of companies, I'd like to find out which companies are in column A that aren't in column B. MATCH() seems like overkill? How should I be doing this?

do it
Jan 3, 2006

don't tell me words don't matter!
I am trying to find out how many subscriptions were active during a given period. In Column A, I have the subscription start date, in Column B, the subscription end date. Using a list of weeks, I would like to determine how many subscriptions were active in that week.

I've uploaded a sample here: http://cl.ly/3I040N1R0Z0Y1K463X1q . Because subscription XX11 started on 7/17 and ended 7/29, it was active in week 7/9-7/15, week 7/16-7/22, and week 7/23-7/29. Because subscription XY23 started 7/9 and ended 7/18, it was active in week 7/9-7/15 and week 7/16-7/22. The other weeks had no subscriptions active.

Any help would be appreciated!

do it
Jan 3, 2006

don't tell me words don't matter!

Old James posted:

code:
Function
That is awesome, thank you!

I'm also trying to figure out how I can determine which week of a calendar quarter a date is in.

For example,
code:
1/6/12     2012 Q1 WK1
7/4/11     2011 Q3 WK2
However, =WEEKNUM only gives the week in the whole year, I need it to be reset at the beginning of each quarter (1/1,3/1,7/1,10/1).

Adbot
ADBOT LOVES YOU

do it
Jan 3, 2006

don't tell me words don't matter!

Old James posted:

code:
=IF(WEEKNUM(A1)<=13,"Q1-"&WEEKNUM(A1),IF(WEEKNUM(A1)<=26,"Q2-"&MOD(WEEKNUM(A1),13),IF(WEEKNUM(A1)<=39,"Q3-"&MOD(WEEKNUM(A1),26),"Q4-"&MOD(WEEKNUM(A1),39))))
This is even more awesome. However, I'm getting back 2011 Q2-0 for 6/22/11 using

code:
=(YEAR(J63)&" "&(IF(WEEKNUM(J63)<=13,"Q1-"&WEEKNUM(J63),IF(WEEKNUM(J63)<=26,"Q2-"&MOD(WEEKNUM(J63),13),IF(WEEKNUM(J63)<=39,"Q3-"&MOD(WEEKNUM(J63),26),"Q4-"&MOD(WEEKNUM(J63),39))))))
(I only added YEAR).

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply