# Excel 2003 :: Referring To Cell Value In COUNTIF Formula

May 7, 2013
I am using Excel 2003

Cell B13 contains the row number of the first row of data on the sheet and B14 contains the row number of the end row of data. This is because the number of rows vary over time.

I'm trying to do a COUNTIF to test for duplicates in column R (contains integers) and I want to specify the range to count by referring to the value in B13 and B14 in the formula and so I have the following which returns FALSE for some reason even if the value in R19 appears more than once in the range ...

=COUNTIF(INDEX(R:R,$B$13):INDEX(R:R,$B$14),R19)>1

View 3 Replies
ADVERTISEMENT
May 12, 2014

I posted an earlier question about using a countif formula with two sets of criteria, Below is the formula I was given but for the life of me I can not get it to calculate. I have created a drop down box for each agent at my work and a drop down box for pass and fail. I want to keep a running total if they pass or fail on an assigment. I have labeled my worksheet phone.

=sumproduct((Phone!G:G="Fail*")*(Phone!B:B="Smith, John*"))

View 2 Replies
View Related
Nov 27, 2013

Can you set up countif to work to refer to a certain cell instead of a specif name or text.. for instance

HTML Code:

countif(a36:b36, "c1"

View 3 Replies
View Related
Jan 26, 2013

How many tickets are created and fixed by a user for a certain period. See below. I've tried countif but it doesn't seem to be working for many criteria.

Start Date

11/1/2012

End Date

11/31/2012

Assigned To

Created

Fixed

[Code] .....

View 8 Replies
View Related
Jan 1, 2014

How to use countif in Excel 2003, for multiple range and criteria ? Can 'Nested ifs' be used? If so, a sample of such ifs

View 3 Replies
View Related
Jul 8, 2014

I'm having the following problem:

A1 & B1 = variable inputs from a calculator

Value C1 is calculated as follows: IF(A1<=0,"",(B1*G1))................(where G1 is a fixed value with 6 digits)

MY PROBLEM: The result in C1 should always be a ROUNDUP value.

I just don't know how to combine ROUNDUP with IF(A1<=0,"",(B1*G1))

View 4 Replies
View Related
Sep 25, 2012

I am using Excel 2003. Looking for a way to find out whether some data I want to delete in a sheet is used by a formula somewhere else within the file. Is there a way to check that? In other words, I have the number 500 in A1, and I want to delete it, but I don't know whether it will impact a calculation on another sheet that involves that value in A1.

View 4 Replies
View Related
Aug 8, 2014

Is it possible to get Excel to highlight a cell when the IF formula returns a TRUE value? (Using MS Office 2003)

View 2 Replies
View Related
Jul 8, 2008

I'm trying to find the details required to refer to contents of a cell and then treat the value as the formula. IE for Sum(B5:B8), i'd like to have two cells, one with a 5 in it and one with the 8.

I know its possible if i put "b5" as the cell content using indirect - but I'll be using the same cell value to update formulas in different columns so I cant afford to include the B. I assume theres a very simple method along the lines of Sum((B&(Cell(a4)):B&(Cell(a5)))?

View 9 Replies
View Related
Sep 28, 2011

how to write a formula that will leave a cell blank if nothing is entered. I do not want it to show a 0 unless the cell entered is a 0.

In cell G16 - I am adding U46 and U58 together.

I do not have a problem when it is 1 cell - my formula works fine. When I have 2 cells added together, the formula does not work.

View 7 Replies
View Related
Aug 19, 2013

I am using excel 2003 and I am looking for a formula that will highlight duplicate cells and change the cell to red.

Unlike newer versions that have duplicate cells within the formatting tool, appears that 03 doesnt.

Also I am looking for a formula that will highlight blue a date cell when the date arrives.

View 9 Replies
View Related
Feb 9, 2007

"Smith B" is text in C1.

My current formula in C3 is a simple reference to a cell in another workbook:

=+'Z:Time Records2007[Smith B.xls]Daily Time'!$C1352

I would the formula to refer to C1 to get the "Smith B" part.

This would allow me to copy the formula to the right and reference different text as it looks at D1, E1, F1, etc.

To say it another way. I want to know if there's a way to make a formula that would result in looking at the file Smith B.xls by inserting a refernce to C1 in it?

=+'Z:Time Records2007["C1".xls]Daily Time'!$C1352

View 5 Replies
View Related
Jan 31, 2014

How to do this:

I have many sheets called;

Input Jan

Input Feb

Input ....

Meaning 1 for each month.

I have another sheet where I want a formula that can

..............................................JUL

CapEx.................................... EBITDA...............................EBITDA %

"=('Input Jul 2014'!$BI$3)/1000"

The "Jul" which stand for July, it is possible to have a formula where I can have certain text in a formula that is based on the value in B1 (In this case, B1 being JUL in bold writing.)

Like this;

=('Input &B1 2014'!$BI$3)/1000

Or must I manually go in and replace all formulas for each month?

View 4 Replies
View Related
Sep 26, 2012

I need to write a formula in F35 that looks at C4 and if that cell has a # of 25 or greater it will then look at F4 and if that # is greater or equal to 95% it will return a count of 1 in F35. I know how to use the countif function but am stumped when I try to add in the function to look at c4 as a qualifier.

View 7 Replies
View Related
Feb 4, 2014

The following formula was, several weeks ago, very graciously offered to me from one of Excel Forum's contributors.

=SUMPRODUCT(--(MOD(ROW(E8:E6782),2)=0),E8:E6782)

My request was to find a formula that would add each 6th row starting in row e8 (e8+e14+e20+e26+e32 etc. through e6782) in column "e" when the column was 6782 rows deep from top to bottom. (i am not trying to add every number in column e, just each 6th row, starting at e8 and going through row e6782).

I entered the formula into my spread sheet and, voila, I had a sum that I assumed was accurate for my spread sheet of ticket sales. I began to question the functionality of the formula when I altered the E8:E6782 parameters (which represented the gross ticket sales) to E4:E6778, in an effort to sum up the E4 values e4,e10,e16, e22,e28,etc. . . (which represents the net values after commissions were deducted). The difference in the two sums (e8 values Versus the e4 values) was incorrect and did not represent the appropriate commissions (which should have been 15%).

View 1 Replies
View Related
Apr 28, 2013

I would like to find out, how would look formula in excel 2003 to perform process like discribe below:

(in cell K1 formula)

=sum (A1+B1) then if sum of A1 and B1 is lower then 100 then add C1 but if sum of A1 and B1 is higher then 100 then subtract 100 and add C1.

View 9 Replies
View Related
Jun 25, 2014

In excel 2010, I have 2 spreadsheets, the first "Active Total Master Turn" has the data, the second, "Pending" has a reporting chart. A cell on "Pending" contains the following formula:

=COUNTIFS('Active Total Master Turn'!F:F,"RK*",'Active Total Master Turn'!H:H,"Painting",'Active Total Master Turn'!C:C,"

View 7 Replies
View Related
Nov 9, 2012

On a excel sheet I've got columns, each column represents a weeknumber. I want to calculate the so-called 4 wk average for each row and for each week and this is the formula I use:

(value*Tvalue)+(value*Tvalue)+(value*Tvalue)+(value*Tvalue)/(Tvalue)

(this is not the actual formula but simplified, that's not really important).

It's the checks that make things a bit more complex. If a value of a weeknr is zero, skip it, but if the next value is also zero, just skip the formula alltogether and make it a zero (or text like "false"). So another thing that has to be accounted for is that if a value is zero, the next weeks value is taken instead.Example (see included file):

I want to calculate the formula (mov 4wk avg) for the third value for week 12, which will make the formula

(0.2*6)+(0.3*6) now there's a zero on week 14 so I skip it, then formula will be:

(0.2*6)+(0.3*6)+(0.6*6)+(0.9*6)/(6).

Right now I'm doing this in VBA with a lot of variables and a lot of if statements.Is there an easier more effective

I know the example sheet is a 2007/2010 version but I need to accomplish this for 2003.

View 9 Replies
View Related
Mar 26, 2012

Excel 2003. I have a list of names in column A, dates in column B, I need the difference between dates for the people in column A, I am doing it now with the formula shown but I need a formula to put in column C that will look at the name in column A, for that row, and then find that name above it and give me the difference between the to dates in column B. So in the example below if I put the formula in C7 it would look at A6-A2 for harry and then give me the difference between B7 and B4, 6 days, if there is not a match return blank.

Excel 2003ABCD1NamesDateDays Between2tom2/8/123****3/2/124harry3/9/125tom3/10/1231=B5-B26tom3/12/122=B6-B57harry3/15/126=B7-B48****3/26/1224=B8-B3Sheet1

View 4 Replies
View Related
Aug 31, 2013

I need to copy a column of data from Sheet1 to Sheet2, but skipping every 5th row in the original data on Sheet1, but without leaving any gaps in the resultant column in sheet2.

At the moment I've been manually changing the formula but there must be an easier way.

eg. Copying data from Sheet1, A1 to A11, I would have in Sheet2, starting at A1 :

=Sheet1!A1

=Sheet1!A2

=Sheet1!A3

=Sheet1!A4

=Sheet1!A6

=Sheet1!A7

=Sheet1!A8

=Sheet1!A9

=Sheet1!A11

Any formula I can enter that would be dragable and still skip every 5th row ?

Windows XP, Excel 2003

View 5 Replies
View Related
Jan 22, 2014

I have attendance tables that has column Y showing the shift to be worked and column Z showing any absentees. I used the following formula to count the number of people off per period.

{=SUM(COUNTIFS($Y$5:$Y$29,AM,$Z$5:$Z$29,$W82),(COUNTIFS($Y$36:$Y$60,AM,$Z$36:$Z$60,$W82)))}

in the above formula AM relates to a list of morning shifts.

The problem I have now encountered is that the system at work is still using excel 97 - 2003 which does not recognise Countifs.

way to adapt the formula to be compatible with Excel 97.

View 7 Replies
View Related
Mar 10, 2014

I am trying to come up with a formula to determine if someone is 21 years old or not. After I enter their DOB if they are 21 or over I would like the cell to turn Green, if not I would like it to turn red. I have tried alot of different formulas that primary pertain to days and months but nothing for years.

View 3 Replies
View Related
Jan 16, 2014

I have Excel 2003

My spreadsheet has multiple lines of data for multiple items (have a specific item #) and I need to be able to enter an item # on a different sheet so that the requested information can be pulled from the data source. The items have information on multiple rows. I need to have all of the rows pulled into my output file when I specify the specific item. #.

I have attached a spreadsheet showing the type of data is contained and what my desired output would look like.

View 1 Replies
View Related
Nov 22, 2011

I'm using Excel 2003 & Windows XP Professional.

I have two sets of data tables. One contains Number, Name & Date. The other contains amounts which those people have paid in 2007, 2008, 2009 & 2010. So in the below Jones has paid a total of $580 over those years, Smith has paid a total of $650 over those dates & so on.

The amounts in 2007, 2008 etc are full year amounts. I'm after a formula that can calculate the amounts for part years based on the dates from C1 to C11 by number (or name).

I've got what I think the results should be (I think with some rounding problems), but my real data has much more data.

View 3 Replies
View Related
Dec 21, 2011

I have these postcodes as example below but the array formula I was going to use won't work because, for example when I count everything with the Birmingham post code 'B' it counts every thing that contains the letter B which could also be in the post code BA1 3RL?

Excel 2003FGHIJKL2AB11 7TFWEB3ECRAB143AB12 3NFWEB3ECRAL54AB14 0QNWEB396FECRB1295AB15 4ANWEB34ECRBA86AB15 5LRWEB34ECRBB4Sheet1 (2)

View 5 Replies
View Related
Jul 12, 2012

I'm using excel 2003 and have a problem regarding some code.

Dit(a, b) = "=" & Hit(a, (d - 12 - e) + f) & "/" & (Pro & ".NrE.sol")

Where "Hit(a, (d - 12 - e) + f)" can be numbers with decimals.

When I run the code the result is nothing, unless the number is a number without decimals.

If I use just "Dit(a, b) = Hit(a, (d - 12 - e) + f)" it shows the right number.

View 2 Replies
View Related
Dec 11, 2012

I am using Excel 2003 and trying to create a formula that will combine comma delimited numbers from two or three cells in the same row and output them to another cell in the same row as comma delimited numbers, sorted with duplicates removed.

So the data is something like this ...

Cell A1 ... 1,5,8,19

Cell B1 ... 4,26,1,8,8501

Cell C1 ... 1,6,1301,12

I would like to consolidate these into cell D1, sorted and distinct ...

Cell D1 ... 1,4,5,6,8,12,19,26,1301,8501

View 1 Replies
View Related
Sep 10, 2013

I have a cell (A1) which contains the month. A2 contains the year. I need a formula which will return each date of the month.

View 7 Replies
View Related
May 7, 2014

The following formula works perfectly in Excel 2003:

=SUMPRODUCT((A2:A10="A")*(b2:b10="B")*(c2:c10="C"))

However, I've got a fourth column that contains either a date or a blank cells; I want to limit the formula to only include certain dates in the sum. i.e:

=SUMPRODUCT((A2:A1000="A")*(b2:b10="B")*(c2:c10="C")*(d2:d10>="01/04/2014"))

Rather than an error it's just retuning an incorrect number.

View 6 Replies
View Related
Jun 7, 2014

I am using Excel 2003

I have used =IF(I6=J6,1,0) but I want a 0 value if the two cells are blank. How do add this to the formula?

View 7 Replies
View Related