Count Numbers Less Than X Across Multiple Worksheets
May 23, 2008
My workbook contains 30 worksheets with identical layout, named 01 to 30. I'm trying to count the number of sheets in which the value of cell B12 is less than 0.6, using the following formula:
=countif('01:30'!B12,"<0.6")
However, it returns a #VALUE error, although it works fine on a range of cells on the same worksheet. Does Countif not work across multiple sheets? If not, is there another way to achieve the required result?
View 3 Replies
ADVERTISEMENT
Feb 26, 2009
I'm Tim, and I'm just an average Excel user who found his way here through Google. I did a little poking around and this looks like a great community. Maybe I can contribute on future visits.
I'm wracking my brains over this one but I can't seem to get anywhere. What is easy on a single worksheet becomes a conceptual nightmare when extended across multiple sheets........
I have an Excel 2007 workbook with ten worksheets, each is 5 columns by *about 50 rows. My column headings are the same on each sheet. All of the cells are formatted as Text.
View 8 Replies
View Related
Nov 16, 2006
I have a spreedsheet that has 5 worksheets in it named game1 thru game5 i want to count games won and games lost from each worksheet. how do i do that? the games won and games lost in the same cell on each worksheet.
View 9 Replies
View Related
Aug 22, 2012
I would like to be able to use VBA to add a total amount from different worksheets. What I have attached is a copy of my workbook. It is a blank PO and at the bottom is the word total. Is there any way that I could use VBA or an add in to be able to sum the numbers that are adjacent to the word total on separate worksheets?copy.xlsm
View 2 Replies
View Related
May 20, 2014
I'm trying to find out if there is a way to count a specific number from a cell that has multiple numbers in the cell. I have attached a worksheet.
Example, on the attached worksheet, I want to count how many 16's in column C and input that total number into G18. Then I want G19 to tell me how many 17's in Column C, then how many 18's in G20 and so on. I want to do this for all days in a month, 1 through 31. If there are no numbers, then "0" or a blank cell is ok. Not to concerned with zero's.
Attached Files: xlsx Book2.xlsx
View 7 Replies
View Related
May 27, 2014
I'm using Excel 2010 and my spreadsheet contains numbers in columns A:E and approx 500+ rows. Here is a 10 row example of my data:
A B C D E
0 1 2 3 4
5 6 7 8 9
0 2 4 6 8
1 3 5 7 9
1 2 4 5 8
3 4 5 6 9
9 8 1 2 3
7 6 1 4 0
0 8 2 1 9
1 0 5 3 2
I would like to count the number of consecutive times each number appears (to a max of 9 consecutive times in a row). So, from my example above:
Number 1 appears:
1 consecutive time = 1 (appears in row 1)
2 consecutive times = 1 (appears in rows 4 & 5)
3 consecutive times = 0
4 consecutive times = 1 (appears in rows 7, 8, 9 & 10)
Number 2 appears:
1 consecutive time = 4 (appears in row 1, row 3, row 5 & row 7)
2 consecutive times = 1 (appears in rows 9 & 10)
3 consecutive times = 0
4 consecutive times = 0
Number 5 appears:
1 consecutive time = 2 (appears in row 2 & row 10)
2 consecutive times = 0
3 consecutive times = 1 (appears in rows 4, 5 & 6)
4 consecutive times = 0
and so on....
View 9 Replies
View Related
May 14, 2012
I have 2 nearly identical workbooks and I need to update historical data from the old workbook into the newer one.
My current Coding Snippets that I want to use look like the following:
Code:
Sub UpdateWorkbook()
Dim ws As Worksheet
Dim r1 As String
Dim r2 As String
Dim r3 As String
Dim r4 As String
Dim r5 As String
Dim r6 As String
[code]....
Now, this code isn't working I suspect because the Copy and PasteSpecial Functions don't work the way I wish to.
View 4 Replies
View Related
Jul 21, 2014
Instead of just counting all worksheets I want to count the number of worksheets between 2 control worksheets (Start and End). Reason for this is that I have a Workbook that grows weekly and each new worksheet is inserted after "Start". I have a macro that lists the Worksheet names but it grabs all and I only want those between Start and End.
View 9 Replies
View Related
Oct 18, 2006
I have the data as follows in each cell a number:
1 5 6 23 45 2
6 23 45 5 1 22
9 10 11 1 36 5
I have this kind of data going down about 2000 rows. I want to find how many times 1 and 5 appear in each row until there is no more data to read. I found the formula below but I cant use it for 2000 lines plus any extra that will appear in the future...
View 4 Replies
View Related
Jan 6, 2009
I'm currently doing a survey using an excel workbook that contains multiple questions across multiple worksheets using radio buttons linked to certain cells.
I have around 400 workbooks coming back to me, so what i want to do is take specific values from across many worksheets within each workbook and combine them into a large master table in a seperate workbook.
I've tried using VBA, but not being very proficient at it i've hit a brick wall with that, so i'm hoping that there is an easier way to do it than what i'm currently pursuing.
View 9 Replies
View Related
Jun 11, 2008
I have a field that contains the following: 012100002030
I need a formula that will tell me whether or not the string contains a number higher than 2 or whether or not it contains more than one 2.
Examples:
001000002011
111111000022
401110000000
the first loan would not meet the criteria as it contains no number higher than 2 and only contains one 2.
the second loan would meet the criteria as it contains two 2's.
the 3rd loan would meet the criteria as it contains a number higher than 2.
View 9 Replies
View Related
Oct 19, 2009
I have a transactional data set with a line for each transaction and I am looking to count the number of documents (each contains multiple transactions) against criteria.....
It looks something like this.....
Column A Column B
Document No Category
11000001 A
11000002 B
11000003 B
11000002 A
11000001 A
Is there anyway to do this without subtotalling for each document and then a count?
View 9 Replies
View Related
Mar 12, 2009
I have multiple sheets in my workbook, I need t o be able to copy M10:M1016 from each sheet and then paste that information into a sheet called comparison.
Sheet1 would be pasted into D10:D1016 , Sheet2 would be pasted into E10:E1016 sheet3 into F:10:F1016 etc.
View 14 Replies
View Related
Mar 5, 2012
I have a mass of data which look something like this:
table removed
and I require the ranges of reference numbers to be listed in a column one above the other, which requires inserting new rows. I also need the date & description columns copied down into the newly inserted rows.
So basically for example I would want the top row to now read:
table removed
and then apply the same procedure to the other ranges below this.
View 4 Replies
View Related
Aug 20, 2014
following issue:
The following table is given:
flower
20
rose
flower
21
rose
[Code] ........
Which needs to be turned into:
flower
20
22
rose
flower
31
32
blossom
tree
1
3
apple
The last column is the one that dictates when a new range of numbers start. There should be one range of numbers for Rose, One range for Blossom etc.
View 4 Replies
View Related
Apr 30, 2006
I have been trying to figure this out for some time and cannot seem to
get it to work. I am using Excel 2003
I need to know the number of times a certain situation occurs across
12 worksheets.
Workbook has 12 sheets named Jan, Feb, Mar, etc to Dec
All 12 sheets exactly the same (different data)
In column F12 to F62 is a range of numbers like 1010, 1056, 1168. All
are four digits and there may or may not be repetitions of the
numbers. The numbers could be any number from 1000 to 1200 (total of
200 possible numbers)
In column G12 to G62 there are 5 different names. Bill, Bob, Mike,
Helen and Sally that may or may not be repeated or not entered.
On a separate sheet I need to figure out the following.
In rows I want to put all the numbers.
In columns I want to put the names.
What I want to do is to count how many times Bill gave away item #
1056, 1137 etc. So that in the column below Bill beside each number
it will give me a total of instances Bill gave that item away in 12
months or a 0 if none of any number. It would be nice if it auto
updated when Bill gives away item # 1423 next month.
I want to do the same for all five people.
I have visited many web sites and tried numerous formulas but just
cannot get anything that works.
View 11 Replies
View Related
Dec 19, 2007
I have a Main worksheet, 5 Operational worksheets and 1 worksheet containing data tables.
I want to in the Main Worksheet count, as a total, the number of times a word eg "Aviation" appears in the same range for each of the 5 Operational worksheets. For example,
=countif!'Aviation','team1',a6:a50,'team2',a6:a50,'team3,a6:a50,'team4',a6:a50,'team5',a6:a50
View 9 Replies
View Related
Aug 26, 2013
I have an Excel Spreadsheet (2007) that contains over 500,000 records that shows Electric meter usage per month over a 24 month period per meter. What I want to be able to do is to select a meter row per number and copy is to it's own worksheet. At the end - I want to be able to have a seperate worksheet per electric meter number - that I can create a graph. If I go through all 9000 meters and copy and paste into a different worksheet - it will take me weeks to do manually. How can I do this automatically?
View 1 Replies
View Related
Jul 12, 2014
I need a macro that would consolidate all data in multiple worksheets of multiple workbooks in one Master file.
All the workbooks will be in one particular folder. The macro should search for data in all the workbooks and consolidate it in one master excel workbook.
I am currently using both excel 2007 and excel 2010. This macro would really reduce manual work as currently consolidating data from 45 to 50 sheets takes an ample amount of time...
View 4 Replies
View Related
Jul 2, 2014
I have attached a test workbook excel 2010 (ignore ref# errors, I've cut the workbook down for uploading purposes) What I would like to do is have a 'Button' on my 'information Sheet' which when clicked would clear certain cells. I have searched the forum but can't find a solution, everyone seems to want to delete rows or columns but I just want to clear certain cells. The workbook will have 11 sheets each named 'caravan 1' through to 'caravan 11' The uploaded test workbook only only has 3 sheets.
On 'caravan 1' (which is slightly different to the other 10) I want to clear the content of cells
B4 & B5
C4, C22 & C41
D4 & D5
E4,E5, E22,E23,E41 &E 42
On all other 'Caravan sheets' I want to clear the contents of cells
D4 & D5
E4, E5, E22, E23, E41 & E42
It would be icing on the cake if it could give a warning such as " are you sure you want to clear these cells" but that isn't really necessary. The worksheets will be password protected, but the cells mentioned above will not be. If it proves too difficult to clear all the cells on all the sheets with one click, then perhaps a simpler solution might be to have a button on each sheet instead
View 8 Replies
View Related
Aug 4, 2006
How can I count the number of selected worksheets in VBA? I've been looking in the Excel object model, but with no avail. Perhaps I'm overlooking something simple.
View 2 Replies
View Related
Mar 2, 2008
I am trying to figure out how to count all open workbooks, then count all worksheets within the workbooks and come up with the total amount of worksheets in a message box. I know that it sounds very simple and probably is, but I really can't figure it out.
View 6 Replies
View Related
Jul 28, 2013
I'm making a Excel list for trading cards (MTG) and I've divided it into different worksheets in order to sort it by the color of the cards (not really important I guess).
The issue I have is that I want it to copy certain columns (in this case C3:C1000, F3:F1000, G3:1000 ) from almost all of the worksheets into a new worksheet where it should paste them into column A, B and C.
In two of the worksheets it's also different (C3:C1000 , G3:G:1000, H3:H1000).
I've seen many where you copy one range from multiple worksheets, and that would've been okay I guess if not those two worksheets were different. I'd prefer not to change them, and I'd also prefer if I could've gotten just the information I needed also. Is this possible to do?
View 5 Replies
View Related
Mar 27, 2014
I'm trying to email multiple worksheets from a list to multiple recipients in a list, but in one file per person. In a sheet called "Email list", for example, I have a list of 50 worksheet names (e.g. one for each cost centre) in column A (with a heading in cell A1, if that's OK, so the list starts in A2) and in columns B-F up to 5 recipients for each worksheet (e.g. 3 recipients might be 2 supervisors and their manager).
Also, each manager and supervisor might also receive several sheets.
Although columns B-F are presently free-format (they can be anyone's email address, regardless of whether they're a supervisor or manager), it might be easier to split these columns so B,C,D are supervisors emails and E,F are managers, if that makes it any easier creating the collated file of worksheets..?
Unfortunately the recipients might change occasionally so they can not be hard keyed into the macro itself (which would be much easier), but need to be in a table so it's easier for the user to update and maintain - in the past, I've managed to hard key the requirement into a macro which I've maintained (by recording and editing the macro), but I don't know the VB to figure this new request.
Ideally, I am trying to create a macro that can collate the various worksheets each person will receive and send the selected sheets in one file to that recipient, rather than multiple files within one email and/or multiple emails.
View 8 Replies
View Related
Aug 20, 2014
I have a function that counts my worksheets and I reference that to a cell so another macro that creates a new worksheet will be named +1 numerically. My problem is I need it to anchor on "MISLC" and count to the end of the workbook. Or start on the last sheet and count back to "MISLC"
VB:
Function Sheets()
Sheets = Worksheets("MISLC").Index - 1
End Function
View 3 Replies
View Related
Aug 18, 2007
I have an excel workbook with 8 worksheets. Each worksheet has vertical columns (approx 250 columns per sheet) of numeric data. Is there a function or macro that will combine all of this data into one vertical column without having to individually cut and paste each one into the new column?
View 3 Replies
View Related
Feb 27, 2009
Has anyone created a marcro that will convert all the worksheets to Hard number, changing the formula results, (by Copying and paste, special, value). all at once?
View 10 Replies
View Related
Feb 6, 2014
I have two worksheets and each one has it's own number. Sheet1 has "100" and Sheet2 has "101" and they're located in "A4" on each. Each sheet will have a control button that will be pressed when a sheet is complete. The control button will clear a range of cells "B5:C20" and increase the sheet number in "A4". So if you press the control button on Sheet1 the range will be cleared and the number will change to "102" since Sheet2 is already using "101".
View 2 Replies
View Related
Sep 5, 2008
I would like to append multiple workbooks with multiple worksheets in a separate workbook. For eg. I have workbook "A" with sheets 1,2,3 and workbook "B" with sheets 4,5,6. Now I want to append "A" and "B" to create workbook "C" with sheets 1,2,3,4,5,6.
View 9 Replies
View Related
Jan 28, 2009
I have a folder - U:30000 - that contains a number of identically layed out workbooks. What I'm trying to do is, in each, change a number of cell values. Where dominicb's solution to the previous problem didn't work for me, however, is that I need to change cells in multiple worksheets. The cells are specifically:
On worksheet 'Construction': C3 (which is a date), D3 (which is a text value); on worksheet 'FF&E': D3 (the same text value as D3 on 'Construction'. Unfortunately, whoever initially set up the workbook didn't have the foresight to link it!)
View 4 Replies
View Related