OK, I have a list of sales that my semester long company has sold. In the midst of these sales we are sellling a versoin of the bumble watches. people can either buy a watch, (which includes a face and a band) a face, or a band.
So I have this giant list and only like 10 watches on there. I need a formula that will count how many watches and faces we sell.
I was initially thinking something along the lines of: =COUNT(OR('Sales Journal'!D:D="Watch",'Sales Journal'!D:D="Face")) =COUNT(OR('Sales Journal'!D:D="Watch",'Sales Journal'!D:D="Band"))
Which worked great until I had more than one watch in there.
I can't figure out dcount, and don't know if it's even the right thing to use in this instance. If you want I can post the sales journal..
Using the dcount function it appears that the criteria is not exact. I have typed in ="IP" but instead of getting only IP. I'm getting cells beginning with IP, eg IPp and IPe. When I use countif I don't get this problem.
I have created a register that gives the ages of the participants being registered. I need to figure out the number of boys and girls of different age groups. I used the formula =DCOUNT(database,column no,criteria) with criteria having two columns, Gender & Date of Birth. Under Gender was M, Under Date of Birth was >=01/03/2002 [dd/mm/yyyy]. This gave perfect results shwing me the number of boys less than 12 years old. However, wishing to make the formula dynamic I changed it to >=EDATE(TODAY(),-144) which is exactly twelve years ago. This formula gives wrong results and I can't understand why.
i'm trying to write a summary page for the data collect on the first sheet and would like to find a way of counting the number of records within certain date criteria (those that are more than 30 days old). now the crucial part is that the records have a second set of critical data, their Status, and i need to find only the records that have a particular status (in this example that is Pending and Open).
if you look at the second sheet you'll see that i can find records that are associated with a specific date, but not with a range of dates; which is particularly annoying because DCOUNT can find ranges of information when using other types of number.
I'm not sure if using the Dcount formula is the right one in my example below, but I can't get it to work. Here is my data:
A B C D E F G H 1
ThrFriSatSunMon TueWedThr2 2030101512
I'm looking for a formula that would count the number of Weekdays with data in it. So the answer would be 3. As I enter data into column F, G, H, etc. the count would go up and would always skip "Sat" and "Sun".
What I require : Column F to be blank as long as the following is true:
1) Column A (Order) cannot be blank. 2) Column E (Status) has to be equal to either "Completed" or "Successful". 3) Column D (Sales) has to have the same date as Column C (Contact), but due to bad data quality each order number can have several rows and as long as the Sale date from one of the other "Duplicate" rows equals the contact date it needs to be counted. This is as long as there is not already a row for the Order that already has Sales / Contact day matching.
In the attached spreadsheet, I have highlighted the rows that should be blank in column F in green. My attempts at formulas to count this are in the columns highlighted in red.
I can't seem to get a formula to work. I am trying to count the number of times "EE" shows up in a range only if "CR" is listed in that row within another range. For simplicity Column A has a list with the following values scattered from A2 through A100: CR, LT, ST, DI. Column B has a list with the following values scattered from B2 through B100: EE, EF, EG.
I need to know how many EE's are listed in column B if CR is on the same line in column A.
In the picture below, I need a formula in column E to count the unique occurrences in column A (excluding blanks) if its corresponding value in column B (B1 value) matches that in column D (B2 value). Currently column E is showing the values I would want the formula to return.
At the moment I have a formula as below:
this will do a countif in column A if column B matches the value in column D, but would not weed out duplicates for me.
Modifying my formula. I have attached the sample workbook below.
I am trying to find the starting effective month for a workyear. The criteria for the selected month is that the data BEFORE the effective month is all zeros. I manage to get the result if the data AFTER the effective month is ALL non- zeroes. If there is any zero, the data fetch will be inaccurate due to the COUNTIF formula. Is there any other way or formula that will enable me to get the result. File attached for testing and reference
I have a sheet called 'frontsheet' where users complete a number of fields and a second sheet called 'table'
When the frontsheet is complete, users press a button to submit the data to the table, it checks the fields are complete and submits the data - all this works fine.
However I would like to add a mechanism to check the first entered piece of data (asset number) against all the asset numbers already entered on the 'table' sheet.
I thought I could use a dcount to do this but after trying a multitude of methods I get the same error "sub or function not defined"
Code: Private Sub CommandButton1_Click() 'Dim ta As Worksheet 'Set ta = Worksheets("Table")
'Dim fs As Worksheet 'Set fs = Worksheets("Frontsheet")
As you can see I've tried a few ways and have a few 'remmed'* out lines. I'm starting to suspect the problem lies elsewhere, should I have the dcount happen without the need to click a button and how would I do that?
I am using Excel 2010.I have a Advanced Filter that has removed 2 list, with 3 criterias, List ( or DB1 ) is based off 1 item " Pay type ( hourly / Salary )" , then the 2nd List is based off 2 Criteria's Job type , and Less than a number, I am able to do the filter just fine, but i am requried to DCOUNT theses.
here are the ranges for the Default Table: A6:H45 (without headers)
List1 is in J6:Q27 List2 is in J33:Q37
*Both are without headers also*
I am asked to "DCOUNT"
List 1 based (A6:H45,"Type",L30) List 2 based (A6:H45,"Job Type"+"Salary(has to be
I would like to be able to use the Vlookup function to return more then one value as a result of the criteria. I have a cloumn of dates that populates the X axis of a gantt chart with data whilst the Y axis will be populated by a site reference resulting in a program of work, the Y axis data is the result of a vlookup function. My difficulty arises however with multiple sites, for instance where two or three sites will be visited on the same day. The vlookup function will only return the first value it finds in a range to the formulated cell. The result being a missing site(s) from the gantt chart / work program. is it possible to return all values to a cell i.e. site1, site2, site3. using a vlookup or do i need to use another method of doing this?
I would like to create a formula in a summary sheet ("sheet 2 section" in attached)that looks up and sum cells based on multiple criteria in row and columns in "sheet 1 section". I thought I sumifs would work, but I kept getting #value errors. I'm not a power user in excel. I attached the spreadsheet - it is only an example of what I want to do as the real data is confidential and large. The result I should I get is in section 2. Lookup account 12.251 for tim in the month of February - result is 14.
What I am attempting to do is find the MIN value in Column C where values in Column A are equal.
The data would look like this
A B C D (D:D is where the "MIN" Formula will be) Scope1 NameA $100 Scope1 NameB $145 Scope1 NameC $115 $100 (I want the min value to show up here) - (this would trigger a break between scopes, and provide a conditional format separator) Scope2 NameE $450 Scope2 NameG $345 Scope2 NameX $415 $345 -
So every time I put a "-" I would like the MIN formula to trigger in (Row#-1,D)
I am having data of codes in a and c column and the amount for the same code in b and d column. I want the sum of amount of codes in the two columns b and d, if the same code matches in the a and c column .
I am enclosing the excel file. Why a formula contains those things.
I am trying to figure out how to create a formula using multiple criteria in different columns. Ideally, I need to use the whole column (i.e. E:E rather than E2:E400) because I don't want to have to update the formula every time I input data.
I will simplify my spreadsheet for example purpose. Basically, column A has a unique identifier that either begins with an "M" or an "R." Column B either contains a person's name or a "-". Column C contains a dollar amount.
1. I need to be able to count all the cells in Column A that begin with an "M" AND have a "-" in Column B.
2. I need to be able to SUM the $ amounts in Column C ONLY for the items that begin with an "M" in Column A and have a "-" in Column B.
Is there any sort of formula that might do this? I have tried SUM arrays but as I said before, I would rather be able to use the whole column.
I have been using the wrong formula to count total entries in columns and only just found this error. The MAX formula in cell B4 is: =MAX($B$12:$B$36). If the all the rows are full within range F12:F36, then the MAX formula is fine to count the total within range B12:B36 (25) so I thought. But sometimes there are omissions between F12:F36. If there are 2 blank cells anywhere within F12:F36 for example, then B4 needs to show 23 respectively. In the sample WkBk B4 needs to show 8
I am trying to use a "=COUNT(IF(..." formula to count the number of hourly employees that have start dates older than 3 years. Column A has the start dates and column B has the salary status (S/H). =COUNT(IF(AND(A2:A1000<DATE(2004,1,1),B2:B1000="H"),A2:A1000)) This formula returns 1 no matter what I change the data to.
I need a formula that acts very much like a DCOUNT formula. However, I need to count the numbers of instances where "09007" is in Column A IF the value in Column B is greater than zero OR if the value in Column C is geater than zero.
I would prefer a formula that can calculate this with only the existing data. In other words, I don't want to have to add additional columns with formulas to help get me to the results.