# Excel 2003 :: Array Formula - Counting Postcodes?

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
ADVERTISEMENT
Feb 9, 2014

I have saved this on a 2010 workbook as I am at home but this will be used on a 2003 workbook.

I have several projects on one spreadsheet which multiple users will be working and I am trying to create a summary sheet of the work carried out.

Each user is expected to carry out a task on each row of the data held in each worksheet (research, call, update etc) and each task (Option 1-5) is assigned a value. Each user is expected to meet a certain level of points per day to calculate productivity.

I am looking for a sumproduct along the lines of the summary sheet attached but mine just takes one sheet into consideration and I need one for all sheets.

View 12 Replies
View Related
Mar 21, 2014

I am trying to implement a count on a table that splits up the number of customers associated with a list of managers. Sample data attached.

Count function.xlsx

So, I need some way to display a single instance of each manager name with a count of how many customers are associated with that manager. The number of managers and the number of customers associated with each manager does vary and are displayed in separate columns per the attached.

View 14 Replies
View Related
May 9, 2013

Excel 2003 user.

I have a work sheet with numerous cells coded one of two ways. Either a color of red or a color of green. Is there anyway to count how many times green cells show up? etc..?

I know I'd need to know the exact color but it would save a lot of time as I need to find out how many cells are of each color.

View 3 Replies
View Related
Jan 29, 2014

I am using Excel 2003 and I need to count occurrences involving two colums like this: on sheet "SALES", column I has values ranging from 8.00 to 10.00; column M has positive and negative values.

formula to count how many numbers in column I exist between 8.00 and 8.99 associated to a positive value in column M? And likewise for negatives?

View 2 Replies
View Related
Nov 13, 2013

I'm using Excel 2003 and I need to calculate the number of occurrences on according to different criteria in two separate colums.

I am on Sheet 3 and the data I am analyzing is on Sheet 1, titled "RATES". I wish to know how many occurrences are when the word "GB" appears on column B (cells B2 to B100) along with a value greater than zero on column M (cells M2 to M100). The word "GB" does not appear alone but is part of a string of text with different words, I think this is relevant.

View 2 Replies
View Related
Sep 17, 2008

I have a VBA subroutine that builds a list of dates in an array and then copies this to the worksheet using worksheetfunction.transpose. The array is two dimensional and therefore uses the variant data type.

This works fine in Excel 2002. In Excel 2003 the array is fine until the Transpose function is used, at this point they are changed from dd/mm/yyyy to mm/dd/yyyy. This means that some dates are changed (eg: 01/Mar/2008 becomes 03/Jan/2008) and some are written as strings (eg: 17/Mar/2008 becomes the string "17/03/2008" and cannot be operated on as a date).

I'm aware that there was a hotfix to deal with a similar issue regarding recalculation but this is on Excel 2003 SP3 which should already have that hotfix in place.

I have reduced my code down to a basic demonstration showing the problem. This assumes the worksheet contains some dates in "A2:A32". I have also attached the workbook containing this code.

VB:

Private Sub CommandButton1_Click()

Dim a() As Variant, c As Integer

Redim a(1 To 31)

For c = 1 To 31

a(c) = Cells(1 + c, 1)

Next c

Range("D2:D32") = WorksheetFunction.Transpose(a)

End Sub

I have fixed this problem by looping through each element of the array and writing them individually in to cells but this is far slower so I'd like to know if there is a better solution than that.

View 2 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
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
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
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
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
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
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
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
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
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
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
Feb 16, 2007

I am working on sales information which includes postcodes. What i need to do is seperate the first or first two text characters from the rest of the postcode. I have attached a small snipet of what i am working on. Currently i am using the =Left(A4,2) but this will give me in some case a numerical value aswell. For example E1 or G1 in the case of the sample attached. Is there a formula that exists where it will just return the text values in a cell and not numerical values.

View 6 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
Jun 17, 2014

set a formula to auto calculate the staggered rent for the month. When I change the date, it will tell me for this month I should charge according to the rates for the year.

Rent for the month

Start Date Year 1 Year 2 Year 3 01/07/14 Explanation

01/08/13 10 20 30 10 < 1 yr = 10

01/07/13 40 50 60 50 enter 2nd yr = 50

16/07/13 70 80 90 76.29 (15/31*70)+(16/31*80)

16/07/13 10 20 30 15.16 (15/31*10)+(16/31*20)

formula or vba using Excel 2003.

View 2 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
Dec 20, 2012

Having a hard time putting this one together..Trying to do: Create a formula that counts how many cells in Column L, that fall within a date range and also have a specific category of "text" (Column E). What I've tried:=COUNTIF($L$4:$L$166,"

View 5 Replies
View Related