Re: Formula problem
From: David McRitchie (dmcritchie_at_msn.com)
Date: 05/17/04
- Next message: Don Guillett: "Re: print certain rows"
- Previous message: frank: "print certain rows"
- In reply to: rightdp: "Formula problem"
- Next in thread: rightdp: "Re: Formula problem"
- Reply: rightdp: "Re: Formula problem"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 17 May 2004 15:06:06 -0400
Check for >=26 use 2, else failure the rest of you formula
and another close paren..
Untested but this should do it.
{=SUM(IF(G7:G1000>=26,2,IF(G7:G1000>=13,IF(H7:H1000="JaneD",1,0))))}
-- --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "rightdp >" <<rightdp.16ey4h@excelforum-nospam.com> wrote in message news:rightdp.16ey4h@excelforum-nospam.com... > I work for a travel-nursing agency. We send nurses to hospitals around > the country on a contractual basis. I am trying to create a > spreadsheet that will monitor how many contracts are "closed" (all > paperwork is completed) each month. I am using a query to pull all of > the information from our database. All but one thing is working great. > Our quota is 4-13 week contracts per month. I am using the following > formula to monitor total number of 13-week contracts closed by each > Recruiter: > > {=SUM(IF(G7:G1000>=13,IF(H7:H1000="JaneD",1,0)))} > > Column G is where the number of contracted weeks is shown. JaneD is > the name of the Recruiter. This formula works great because it counts > every contract that is greater than or equal to 13 as one contract > toward the quota. The problem is, if the contract is 26 weeks, this > will count as two contracts toward the quota but my formula still > counts it one time. I basically need to know if it is possible to > create a formula that will count as one toward the quota for every 13 > weeks. i.e.- 13 weeks = 1, 24 weeks = 1, 26 weeks = 2 > > I hope this doesn’t sound ridiculously confusing. Thanks for any > help! > > -Dustin > > > --- > Message posted from http://www.ExcelForum.com/ >
- Next message: Don Guillett: "Re: print certain rows"
- Previous message: frank: "print certain rows"
- In reply to: rightdp: "Formula problem"
- Next in thread: rightdp: "Re: Formula problem"
- Reply: rightdp: "Re: Formula problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|