Sumifs - Include Cell Which Is Variable By Using AND In Collating Data

May 23, 2012

I have come across a problem which delivers 0 as a result, I am doing sumifs which i never had a problem before with, however I am trying to include a cell which is variable by using the & in collating data, the raw file also contains that criteria in 1 column so I have no mismatch.

View 5 Replies


ADVERTISEMENT

Collating Data On Sheet

Aug 12, 2008

I have attached an excel spreadsheet. I am trying to automatically calculate the data in the boxes, (Without using a Pivot Table) but have tried a variety of ways with COUNTIF, COUNT(IF()) and SUMPRODUCT, with confusing results. I managed to get a query to work with SUMPRODUCT, however it does not accept Wildcards (*) in the text reference. I has spent over 8 hours, and even tinkered with Pivot Tables, all without success - The data I would like to extract in the columns for summary is: Department * Logs <7 Days old *Average Log Age * Logs >7 Days Old * Average Log Age *

View 6 Replies View Related

Collating Data From Multiple Spreadsheets In A Specific Folder

Apr 13, 2007

I have built a timsheet template which I intend to issue to c.140 personnel in my company to fill in for the month of May. On receipt of these timesheets, I will save them all in one, specified folder. I would then like to consolidate the total number of hours worked by adding cell N53 from each timesheet received. Is there any macro/ VB script which can add the contents of a particular cell (N53 in this case) from all the spreadsheets contained within a particular folder?

View 2 Replies View Related

Excel 2003 :: Extracting And Collating Data From Multiple Columns

Apr 27, 2014

The link to my file is: [URL] ........

I am using excel 2003.

My query goes like this:

I need to find out "total lifted quantity"(i.e. the sum of 'first state lifted quantity'+'second state lifted quantity'+'third state lifted quantity') for each "state" for each "size" and each "grade".

However when I am applying a pivot table (as seen in Sheet1) it is not giving data in lucid form. I don't want to split the data for three states in three different tables (as seen in Sheet 4).

View 1 Replies View Related

Sumifs - Formula To Return Sum Based On 2 Variable

Sep 17, 2013

I am trying to work out a formula to return a sum based on 2 variable, but one of the variables in in a column and one in a row, anyway I can do this?

I don't want a normal sumif returning the relevant column as the relevant column will change based on a cell that can change.

I basically have a list of products sold (products listed down the page) by month (month listed across the page), I want to sum all the products in a particular month on a separate tab (both product and month can be changed).

View 8 Replies View Related

Include Line Breaks When Pulling Data From Another Cell?

Nov 17, 2013

I've made a spreadsheet for tracking sales/profits and keeping a record of orders, I have made a table on one sheet listing customers, and I have a table on another sheet with a Customer column, with cells linked to the table of customers on the other sheet, The cells in the customer column are set to display a drop-list from the external customers table, but when I select a customer, all of the cell data that's pulled in, is written on one line, whereas it has line breaks on the customers list sheet,

Is there a way of getting the list value to display with line breaks, like on the sheet it pulls the values from?

View 3 Replies View Related

Editing Macro To Include Multiple Rows And Include Text Formatting For Leading Zeros

Apr 2, 2014

I need the values that are copied from the template to copy over in text form from the "Data" Tab. Secondly, the master sheet has multiple lines for each vendor. For the area highlighted in red I'd like for it to copy all cells in column C for the vendor and search the vendor by name. Then, move to the next sheet.

View 10 Replies View Related

Collating Information

Dec 3, 2008

If you have a spreadsheet where column A is a list of names, for each name there are several data types (listed in column B) some of the data types are repeated. Column C contains the percentage for each of the data tpes for the whole thing. There are 300+ names, each with several data types and most where at least one data type is repeated. How can i easily calculate the total percentage for each data type, for each name.

View 10 Replies View Related

Collating List From A Column

Jun 13, 2014

I have 3 columns sports played then a winners column then a runner up column.

what formula can I use to search through the winner and runner up columns for a particula team say Hinuera (would do it for every team involved in the competition) and then get 2 lists produced of what sports they won and what they were runners up in?

View 7 Replies View Related

Collating Tabs Into One Sheet

Dec 11, 2013

I have a spreadsheet with around 250 tabs, all with a small amount of information on laid out int he same format. My question is can i collate this into one long tab?

View 5 Replies View Related

SUMIFS - How To Sum Data Using Both Horizontal And Vertical

Jul 20, 2012

I have a huge data table, and I just can't seem to find a way to sum the numbers the way I want.

Here's an example of the table:

___ A B C A B C A B C A B C A B C
Jan 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
Jan 3 4 5 6 3 4 5 6 3 4 5 6 3 4 5
Jan 3 4 5 6 3 4 5 6 3 4 5 6 3 4 5
Jan 3 4 5 6 3 4 5 6 3 4 5 6 3 4 5
Feb 3 4 5 6 3 4 5 6 3 4 5 6 3 4 5
Feb 6 3 4 5 6 3 6 3 4 5 6 3 6 3 4
Feb 6 3 4 5 6 3 6 3 4 5 6 3 6 3 4
Feb 6 3 4 5 6 3 6 3 4 5 6 3 6 3 4
Feb 6 3 4 5 6 3 6 3 4 5 6 3 6 3 4
Mar 6 3 4 5 6 3 6 3 4 5 6 3 6 3 4
Mar 6 3 4 5 6 3 6 3 4 5 6 3 6 3 4
...
...

But, in essence, I need to sum together every value that's in January AND is in a column labeled "A".

I could just write up a bunch of "sumif=" functions but I feel like there's a simpler way.. I tried using "sumifs=" but I don't think it can handle horizontal AND vertical criteria...

View 14 Replies View Related

Averaging Data Not To Include Null / Zero Cells

Mar 10, 2014

I am having difficulty trying to solution this:

Row 1 = Dates e.g. 1-Mar - 31-Mar
Row 2 = Day of Week e.g 1-Mar(B1) = Sat(B2) through 31-Mar ending at (AF)

Column A has hourly time intervals
A3 = 0:00
A4 = 1:00 etc to 23:00

Numbers fall into cells by date/day and interval up to today 10-Mar

What I am trying to do at is average the days separated by Weekdays and weekends..so the formula at AG for interval for weekday would be =AVERAGE(D3:H3,K3:O3,R3:V3,Y3:AC3,AF3) weekends (Column AH)would be =AVERAGE(B3:C3,I3:J3,P3:Q3,W3:X3,AD3:AE3)

I want to average the weekdays and weekend numbers without having to group the weekdays and weekends in a custom sort in the final column. That way when I add the data every day, it auto calculates in AG and AH. If I do it as it shows above, the AVG is skewed due to the blank cells.

Attached a sample worksheet.

View 4 Replies View Related

Consolidate 4 Columns Of Data Which May Include Duplicates?

Jun 18, 2014

I have four columns of data (in column B) across 4 worksheets within the same workbook. The rows in this columns contain text. In some cases the text in various rows of each columns are identical, and in other cases they are unique. There is a percentage in column C for each text in column B.

What I'm trying to do is as follows:

Create a consolidated list of all four columns into a single column (say column A in a separate sheet). Therefore, each row in this consolidated column will have a unique text based value.

Have the percentage value for each unique text based entry in column B of the separate sheet. if the text based contents in the column A row is one of those that had the same entry in the original four columns, then the average of the percentages will appear in column B.

View 1 Replies View Related

Pivot Table Refresh To Include New Data

Feb 6, 2008

I have an existing pivot table that is feeding from data in another sheet.

The data gets updated every month and sometimes their are more columns of data than the previous month. Everytime there are more columns they are not added into the pivot table when i refresh the table even though they are included in the range.

Is there are way the pivot table will add these new columns when i refresh the table without me having to manually drag them in?

View 9 Replies View Related

Automatically Include New Data In Pivot Table

Jun 10, 2008

I have a workbook that automatically creates a new sheet based on the current day. There is a pivot table in the workbook that gets values from multiple consolidation ranges.

Right now I have to manually add the ranges from the new sheet every time. I need that pivot table to update with the same ranges from the new sheet every time a new sheet is created.

There is also another sheet (named "Data Results") that needs to update too, but that's not as urgent.

I've searched everywhere on the forums and can't find anything like that. When the file opens, I've written script to have a box pop up asking whether you want to "View Data" or "Begin New Audit." If you click "View Data" nothing happens and you can just view the file. If you click "Begin New Audit" it creates a new sheet based on the current date.

I wanted to attach the file, but it's an Excel 2007 macro-enabled file (*.xlsm).

View 4 Replies View Related

Compare Workbooks To Include Missing Data

Jul 1, 2008

I have 2 worksheets that need to be merged. More specifically, I have one 'master' XLS file with some columns included in it that are missing from a second XLS file. I need to merge the new columns (with column titles in row 5) into the second 'auxilary' sheet without touching data above row 5.

View 4 Replies View Related

Include Cell Value In Message Box

Oct 8, 2009

I have the below macro designed to display a message box if a cell in the range specified is greater than the value in the designated cell (BF7). In the message, I'd like to include the value for the cell in another column, from the same row as the cell that met the condition.

For example:
Cell E11.........Cell BF11........Cell BF7
Mark....................1.......................0

What I want the message box to say: Mark worked too many days.

I understand how to include a cell value like so:

View 2 Replies View Related

In A Table Include Data In Columns Into Existing Rows

Jun 7, 2012

I have a table in which the rows represent cities and the columns represent certain characteristics/ attributes a city can have. In the cells every city & attribute pair receives a "grade"

City EatingBeachSki
Barcelona 210
Chamonix 002

I would like to transform this so that every row represents a city & attribute pair and includes its corresponding grade.(I want to do this in order to be able to add more information about city- attribute pairs rather than about cities only)

City AttributeGrade
BarcelonaEating 2
BarcelonaBeach 1
BarcelonaSki 0
ChamonixEating 0
ChamonixBeach 0
ChamonixSki 2

I am aware that I can use a pivot table to sort out all the pairs with a specific grade. and then I could paste this into a new table. But my data base (number of cities x number of attributes) is huge and I was wondering if there is no automatic process to make this transformation.

View 4 Replies View Related

Data Validation - Change Range To Include New Listings

Apr 30, 2013

I have a list of names I used in data validation (dropdown list)....I need to add more names to the list....What is the best way to change the range to include new listings? Is the offset function suitable for data validation? How do you use the Offset function in data validation?

View 2 Replies View Related

How To Not Include Particular Cell In SUMPRODUCT Formula

Aug 28, 2012

With the formula I have as:

=SUMPRODUCT(--(GLCodes=$B7),MasterNetAmt_01)
I want to dis-include the CC="06" in the summation. I tried using:
=SUMPRODUCT(--(GLCodes=$B7),(cc="06"),MasterNetAmt_01)

But it gives a wrong calculation

I use "--" because i have character in the cell

View 1 Replies View Related

To Include Lots Of Text In A Cell

Jul 13, 2006

I'm attempting to use Excel as a writing tool.. it's incredibly powerful as it will allow me to customize my workspace, create links, flow charts etc... but an area I'm most concerned of is at the heart of this endeavor, which is text... lots of text!

I believe there is a limitation regarding the amount of text within a cell ( something like 250 characters?) Is there a way to customize/format a cell to include much more text?

What route would you advise? ..Forms, pivot tables, textboxes?

View 5 Replies View Related

Using SUMIFS On A Large Amount Of Data - Numeric Value Stored As Text?

Aug 1, 2012

I was using SUMIFS on a large amount of data, but wasn't getting back the exact sum that I needed.

It turns out that I had cells with values similar to the following

Code:
000123
0123
Basically, text fields with the same numerical values, except for the number of leading zeros. Due to the nature of the table, the number of leading zeros is important.When I did SUMIFS, it counted the sum of the two values together. For example with the following:
Item
Batch
Qty

ABC
123
1

It appears that even if a numeric value is stored as text, SUMIFS treats it like a number.

View 3 Replies View Related

Dont Include In The Average If Cell Is Zero Or Blank

May 28, 2009

I was done but the formula works great except if the cell is zero or blank I don't want it to include that cell in the average. in this case it still counts.

=IF(SUM(H32>0,H67>0,H102>0,H137>0)=0,0,SUM(H32,H67,H102,H137)/SUM(H32>0,H67>0,H102>0,H137>0))

View 3 Replies View Related

Hyperlink To Static URL And Then Include Cell Reference

Mar 25, 2014

I need to create a Hyperlink to a static URL but then add a cell reference

The static url is known - [URL]

A column in my spreadsheet contains the data needed to add to the end of the static URL - so it would look like [URL]

I tried this

=HPYERLINK("www.helloworld.com)+B2,Link - but it is not working :-(

View 1 Replies View Related

VBA Macro To Include Cell In Named Range

Mar 8, 2009

In my sheet I have a range on the go called 'cells_replen', I then need to search through the sheet and if a cell matching a given criteria is found I want to add it to the named range. The idea is that when I've done all the adding I can just select the range and then go back through the cells later on without searching for them all over again. The first code that declares the first cell I need in the range is:

ActiveWorkbook.Names.Add Name:="cells_replen", RefersTo:=Range("A3")

That works fine, I can also manually add cells into the range as below:

ActiveWorkbook.Names.Add Name:="cells_replen", RefersTo:=Range("cells_replen, A9")

No problem if I want to just add 'A9' but because I'm searching through the sheet, I need some way to just add 'ActiveCell' or similar.

View 4 Replies View Related

VBA - SUMIFS Formula Not Updating Cell When Filling Down?

Jul 27, 2012

I have the below formula working correctly. However the issue is when it pastes and fills down values its using H1 reference in the formula even when it goes to the next column. So basically when it goes to cell I2 it should update the sumifs formula to lookup I1 instead of H1 and so on and so forth for all columns till the loop stops.

VB:
Sheet1.Activate
Dim frmla As String
frmla = "=SUMIFS($C:$C,$A:$A,H$1,$B:$B,$G2)"
Range("H2").Activate
Do Until ActiveCell.Offset(-1, 0) = ""
ActiveCell = frmla
ActiveCell.Offset(0, -1).End(xlDown).Offset(0, 1).Activate
Range(ActiveCell, ActiveCell.End(xlUp)).Select
Selection.FillDown
ActiveCell.Offset(0, 1).Activate

View 1 Replies View Related

Add Multiple SUMIFS Into A Single Cell / Function?

Jun 30, 2014

In a workbook I have a tab with multiple columns containing names, activity codes, billed hours, etc. On another tab I have created a budget for which I use the Excel SUMIFS function to check the database in the first tab for relevant entries and add them together in the budget sheet.

Now here's for the tricky part. On the budget sheet the names are not mentioned, only the job titles. So these are grouped together. This means that the first tab shows only names, while the budget tab only shows the function title.

The function I have used thus far is this:

Formula: [Code] ......

The first part refers to the column containing the billed hours, the second part refers to the column containing the names (criteria range 1), the third part refers to a specific name (criteria 1), the fourth part refers to the column containing the activity codes (criteria range 2), while the fifth part refers to a specific activity code (criteria 2).

This works really well as long as the budget tab only mentions the names, yet it only aggegates at the job title level. Would it be possible to use the same SUMIFS function to search the database for, say, all the names that fall within one specific job title? Essentially that would result in this somewhat bulky function:

Formula: [Code] .....

Clearly, Excel doesn't allow this.

View 9 Replies View Related

Sumifs With Condition Active Based On Cell Value?

Dec 20, 2012

I am trying to get a Sumifs to work where one condition is activated based on a cell value.

SUMIFS($E$2:$E$6,$A$2:$A$6,"=Region",$B$2:$B$6,"="&B1). I have a drop down in cell B1 that lists all the products.

I want the condition to be active only when I make a selection in the drop down, if I don't then I want the Sumifs to ignore the second condition and do a Sum on Region.

View 3 Replies View Related

Using Cell As Array Reference In SUMIFS Formula?

Feb 11, 2014

I have a report for which I would like to set up a Quarterly summary section. There are 6 working teams listed in my table and I have created two cells with data validation to allow me to specify which team and for which quarter I would like to pull data. My intent is to have a formula in one cell which can extrapolate the quarterly team information based on the values in the data-validated cells.

My worksheet is set up so that:

The data table (tblD) contains metrics for all teams for the full yearTeam names appear in Column A of the table and the reporting month appears in Column BCell M10 has data validation so that the only choices are: Q1, Q2, Q3, or Q4Cells X1:X4 contain the quarterly values mentioned aboveCells Y1:Y4 contain array references, so that Cell X1 = Q1 and Cell Y1 = {"January", "February", "March"}Cell N10 contains a VLOOKUP which returns the appropriate array from Column Y based on value in Cell M10Cell L11 has data validation so that the only choices are the 6 team names

Now I was able to get quarterly information by manually typing the 3-month array into my formula like so:

Code:
=SUM(SUMIFS(tblD[TU5],tblD[Team],$L$11,tblD[Month],{"January","February","March"}))

BUT! When I try to use a formula which points to the VLOOKUP cell (N10)--thus allowing me to make the display dynamic--the result is always 0.

Code:
=SUM(SUMIFS(tblD[TU5],tblD[Team],$L$11,tblD[Month],$N$10))

While inspecting the formula in the formula bar, I noticed that the values listed in the array appeared with double quotes (i.e. "{""January"",""February"",""March""}"). I tried every permutation of typing the array in the lookup cells I could think of, but none would allow my formula to properly calculate the total I needed.

{"January", "February", "March"}
{January, February, March}
January, February, March

Although I don't often utilize arrays in my formulas, I do employ them from time to time. I'm hoping there's some factor I might have overlooked which keeps my formula from working. is there an issue preventing array references stored in cells from being used in formula?

View 6 Replies View Related

SUMIFS With One Condition Being Word As Part Of Cell?

Jun 23, 2014

I am trying to use SUMIFS function in Excel 2010 to add the amount of money spent on a certain category by year. I have the year part of the calculation worked out, but can not seem to get Excel to find a word in a cell as part of the last condition. So far I have:

=SUMIFS(d2:d131,(--(YEAR($A$2:$A$131)=B145)),(g2:g131,"*Maine*"))

The A column contains dates, the D column includes the values to be totaled. The G column may include "utility bill for Maine" or "upkeep for Maine" or other text. I want excel to use having the word Maine in column G to be included in the total and those without the word to be omitted.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved