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


ADVERTISEMENT

Function Returns Value To Cell As Single - Function Is Defined To Return Double

May 14, 2013

Function Haversine has correct value in debugger but in cell it has the same value as Haversine2. Is this a known bug?

Public Function Haversine(lat1 As Double, long1 As Double, lat2 As Double, long2 As Double) As Double
Dim temp As Double

[Code]....

View 9 Replies View Related

SUMIFS Multiple Criteria Including Blank Cell

Mar 13, 2013

I am trying to create a SUMIFS function to sum estimated hours for specific systems that do not have a Completed date. I do not want to sum remaining hours if it has been completed. i.e.

=SUMIFS(Hours, System#,"110-000-00, Complete (Date), ISBLANK)

System #
HOURS
Complete (Date)

110-000-00
0.5

210-000-00
0.5

[Code] .........

View 7 Replies View Related

Single Formula/Function Return Results To Multiple Cells

Aug 26, 2006

I've got an If statement in Excel which features several VLookups - I need the IF statement to return differing results to 2 different cells, is this possible?

In plain English, I'm looking for something like

If(Vlookup(A2, B2:D5, 4, False), C6="y" And D7="ok", "False")

Obviously this is a very crude example

View 3 Replies View Related

Multiple Row, Single Column Cell Blocks Into Single Row, Multiple Column Format

Mar 21, 2008

I have a text file containing internet explorer browser history. The file has data in the following format (in Excel all data is in 1 column): ...

View 9 Replies View Related

Lookup Multiple Values In A Single Cell (separated By Commas) And Then Return The Values To A Single Cell (also Comma Separated)

Jan 7, 2009

If I have, in one cell (call it D1):

EH,DR,HU

and in a lookup table on another sheet:
A B
1 ED T
2 EH F
3 DR G
4 HU H
5 SE E
6 YU E

I need to be able to lookup the values in D1 on the table and return the values in column B to a single cell (say E1), also comma separated...

eg...

F,G,H

View 9 Replies View Related

Use The Sumifs Function To Add A Column?

Jan 7, 2014

I am trying to use the sumifs function to add a column that is in pounds but with multiple criteria.I am trying to add a price field but between two dates (between the beginning and end of each month) another criteria from a range of cells I have copied the formula I have written below

=SUMIFS(Sheet1!K:K,Sheet1!B:B,">="&I17,Sheet1!B:B,"<="&J17,Sheet1!W:W,"="&M17)

try to explain a little column K is the column I need to sum column B is the date field that I need to extract i.e. 1st to 31st January (I have put these dates in a cell that correspond to I17 and J17)

then the last bit column W is another criteria that I need met, this works for just one cell however if I try to add another criteria in another cell it doesn't work after M17 I add to the formula ,Sheet1!W:W,"="&M18)

View 4 Replies View Related

Sumifs Date Function

Nov 20, 2009

Is there an easier way to construct the formula in the sales revenue col of the monthly analysis table on the summary tab so that one does not have to enter the specific dates into the formula?!

View 5 Replies View Related

Pull Data From Multiple Cells And Concatenate In Single Cell Using Multiple Criteria

Aug 31, 2012

I have a worksheet entitled 'Data'. In this worksheet there is a table consisting of 4 columns plus relevant data:

TABLE 1:

Project
Benefit Type
Delivered or Enabled
Benefit

PJ1
Financial
Delivered
Saving of $4M over 24 months.

[code]....

I have been trying to create a formula that will enable me to pull data from the 'benefit' column(column D) so that the cell contents populate in a single cell in a table in a different worksheet.

TABLE 2:

Financial - Delivered
Financial - Enabled
Tech - Delivered
Tech - Enabled
Green - Delivered
Green - Enabled

[code]....

So, as an example, I am hoping that a formula can be created which pulls the text from relevant cells in column D when criteria from columns A, B and C are met e.g. Tech benefits that are Delivered in PJ2 would populate cell E3 ('Tech -Enabled') in Table 2 with:

Continued maintenance of hardware.

Increased capacity.

View 1 Replies View Related

Splitting Multiple Entries In Single Cell Into Multiple Columns

Jan 15, 2013

I am looking to split multiple different entries in a single cell into multiple columns and repeat this for all rows

Example (I have the below in a single Cell as column headers)
NCM Server Mgmt VLAN Site ID

Next Line down is the data (Each row in a single cell)
Enabled 10.10.10.0 50 TEST SITE 1
Enabled 10.10.20.0 50 TEST SITE 2
Disabled 10.10.30.0 50 TEST SITE 3

How I could achieve this as I have a number of projects where this would become useful

I know you can use delimiters but with spaces between the values I just can't fathom a way forward.

View 12 Replies View Related

Use Sumifs Function Applying 2 Criteria?

Aug 21, 2013

Excel.xlsx

Attached is the example of the data, I am trying to sum the amount applying 2 criteria, within a particular month and other category. The formula tried is

=SUMIFS(D5:D10,C5:C10,"*June",E5:E10,H1)

However it is giving a value of zero only. I have tried other combinations as well.

View 4 Replies View Related

SUMIFS Function With OR Statement In One Criteria?

Apr 20, 2014

I need to do a SUMIFS with 2 sets of Criteria, but I need the second Criteria to be an OR Statement. The numbers I am adding up is in Column E, with any where from about 20,000 to about 60,000 records (will fluctuate all the time). The first Criteria is easy - match up the name in AG12 with any of the names in Column C. The second criteria is to match up the numbers in Column A with any of the numbers in AD1 through AD40.

I tried this but it didn't work: =SUMIFS(E:E,C:C,AG12,A:A,AD1:AD40). I've alos tried a million other variations of that, imbedded SUM(IF( statements, SUMPRODUCT statements, and DSUM statements and no luck. I can't find anything that allows me to make that second second criteria look at the numbers in Column AD as being AD1 or AD2 or AD3 so on and so forth.

View 3 Replies View Related

SUMIFS Formula With LEFT Function

Jan 16, 2009

have this formula..

=SUMIFS(Sheet2!$D$2847:$D$3065;Sheet2!$I$2847:$I$3065;$B$6;Sheet2!$G$2847:$G$3065;$C$6;Sheet2!$B$2847:$B$3065;A14)

D2847 - D3065

includes Numbers..

lets say.. i want every cell counted which has in these range the first two numbers..

every cell has..

5052
5053
5054
4060
4050

so i count the entries which has 50.. so in total it gives a result of 3. Not summing them, just count the entries that has the first two numbers "50" in every row..

The Red Markings can be replaced, the rest should stay.. it is needed due different criteria.....

View 6 Replies View Related

Text Equivalent Of SUMIFS Function

Mar 8, 2013

When I need to return numerical data with multiple criteria, I use the SUMIFS and it works fine. But when I need to return a text string, the function is not called for. What function can I use to make this happen? I've tried SUMPRODUCT, which I've had success with in the past, but it's not working this time. Maybe I'm laying it out wrong, but this is how I currently have it:

=SUMPRODUCT(column of text to be returned,((column of criteria1)=criteria1)*((column of criteria2)=criteria2))

Do I need to fix this formula or use something else?

View 2 Replies View Related

CONCATENATE Function To Merge 2 Strings Together Into A Single Cell

Apr 20, 2009

I have been using the CONCATENATE function to merge 2 strings together into a single cell. However the problem is, the third concatenated cell depends on the other 2 existing. The idea is I want to take 2 columns of data, and use a formula to merge them, then delete the original 2 data columns so I have a single column with the full data merged.

COL 1 (A3) = First Name
COL 2 (B3) = Last Name
COL 3 (C3) = Full Name (wanted)

So I do =CONCATENATE(A3,B3) and that puts the fullname in C3, but I want to sort of "flatten" C3 so that I have the fullname by itself and I can delete the original cells (A, and B)

View 5 Replies View Related

Excel 2003 :: Cannot Use SUMIFS Function / Finding Alternative

Jan 26, 2012

I know you can't use the SUMIFS function in 2003 but give alternative in 2003

=SUMIFS($D$3:$D$30000,$C$3:$C$30000,"IOP",$E$3:$E$30000,">=01/03/2011",,"

View 3 Replies View Related

Multiple Criteria Sumifs In Multiple Columns

Mar 4, 2014

I am trying to improve how I write my formula. In this case I have replaced this horribly long formula:

=SUMIFS(Amount,CAAPartner,$A10,TransactionAccountFunction,"CRT",TransactionSource,
"MC",ClassCode,"PR",TransactionCategory,1,TransactionCode,3006,ChargeOff,"OK")
+SUMIFS(Amount,CAAPartner,$A10,TransactionAccountFunction,"CRT",TransactionSource,
"MC",ClassCode,"PR",TransactionCategory,1,TransactionCode,3031,ChargeOff,"OK")

[Code] ....

with this nice shortened version:

{=SUM(SUMIFS(Amount,TransactionAccountFunction,{"CRT","SCR"},TransactionSource,{"MC"},
TransactionCode,{3006;3035;3031},ChargeOffCredits,{"OK"},CAAPartner,A10,ChargeOffCredits,"OK"))}

I have pieced this together using information on various forums and it appears to work, but I have a question:

What is the difference between using a comma and semi-colon in this new formula?

View 3 Replies View Related

Find Multiple Instances Of Single Criterion In Row & Return To A Single Col

May 8, 2006

Find Multiple instances of Numeric Criterion in Row & Return To a Single
Column.

I have a Dynamic Named Range "Data" spanning 10 Columns and many Rows.
Each Row may contain duplicates of the Numeric Criterion.

I would like to find ALL instances of a specific Numeric Criterion across
each single Row in the Dynamic Range "Data" and have the Results returned to
a New Sheet in a single column.

NEW Sheet:
The Numeric Criterion is housed in G5.
The matched criterion should be returned to the New Sheet starting at G7.
Duplicate instances in the same Row should ALL be returned to the same cell
in Column G on the New Sheet.

Sample Data Layout:
Columns I J K L M N O P Q R
Row No.76 1 0 1 1 0 1 1 1 0 1
Row No.77 2 2 3 2 1 2 2 0 0 0
Row No.78 3 3 3 3 3 0 3 0 3 0

Scenario:
Looking for Numeric Criterion 1 (one).

Expected Results - New Sheet:
Row No.7 Column G (Cell G7) 1111111
Row No.8 Column G (Cell G8) 1

In Row 76 of the Sample Data ALL seven Numeric Criterion of 1 (one) should be
returned to the same cell G7.
In Row 77 of the Sample Data there is only one Numeric Criterion of 1 and it
should be returned to cell G8.

View 14 Replies View Related

Multiple Lookups In Single Cell

Jun 13, 2014

I am looking for creating a dynamic meeting log/calendar for my team. There's a couple of elements to my questions below:

I have a log with columns such as "Meeting Date", "Client", "Attendee" and have also set up month calendars on separate tabs which automatically update the dates according to a "Year" toggle using Janoffset, Feboffset, etc.

What I would like to do is have these calendars automatically populate a cell beneath each date with any meetings on that day. The client name and then a space then the attendee in brackets would be sufficient and with each meeting having its own line in the cell).

I have gotten a Vlookup working but have run into two snags: 1) where there is more than one meeting on a single day 2) I can only return one piece of information in the cell or otherwise have it blank, I can't have the client name AND attendee.

Is there any way to lookup all of that information in the one cell or is this just a pipe dream?

I have attached my workbook which contains my workings so far and in the first cell of Jan shown the "ideal" format. I'd like the data in.

View 14 Replies View Related

If Then Multiple Arguments For Single Cell

Nov 14, 2008

IM getting a too many arguments error on this ...

View 8 Replies View Related

Multiple IF Statement For Single Cell

Aug 15, 2012

The following IF statement isnt working, so im missing something. If A2 says YES, i want the cell with this statement to be blank. However, if A2 has a date, I want this cell to be that date + 45 days. How can I make this correct?

=IF(A2="","",A2+45,IF(A2=yes,""))

View 8 Replies View Related

Single Cell With Multiple Hyperlinks

Jun 16, 2013

Any way to have multiple hyperlinks to various files in one cel?

I want to the hyperlink to change based upon information entered in which i want it to copy an address from another sheet using the VLookup command.

View 3 Replies View Related

Finding Single Name In Cell In Cell With Multiple Names (words)

May 8, 2014

Looking for a formula (not macro) that can do the following:

I have a spreadsheet and in one column, it has last names of clients. In the next column, it has full names of clients that are the same account, but different system with different descriptions for the name. I need to lookup the column that just has last name and see if that last name exist anywhere in the "Full name" column. If it does, then I need column C to say "Yes" or something along those lines.

The "full name" column isn't always in the same format and sometimes doesn't even contain the "last name." Sometimes the last name will be first and sometimes there's a comma and sometimes there isn't a comma. The spreadsheet attached shows a good short example of what I'm working with...

Name Spreadsheet Ex.xlsx

View 2 Replies View Related

Format Multiple Cell Values Displayed In Single Cell?

May 24, 2012

I have the following data on a spreadsheet created by a formula:

A1: 1.1234
A2. 2.234
A3: 3.34

I have the data formatted to only have two decimal places so it looks like this:

A1: 1.12
A2: 2.23
A3: 3.34

I'm using the following formula in cell B1 to display the values of those cells in a single cell in order A1,A2,A3:

=A1 & "," & A2 & "," & A3

However when the values of A1, A2 and A3 appear in the in cell B1 they appear as: 1.1234,2.234,3.34

Is there a way I can edit the formula or format something so the values in B1 appear as with only two decimal places? i.e 1.12,2.23,3.34

View 3 Replies View Related

SUMIFS With Multiple Criteria

Apr 11, 2014

Here is a sample of the formula I am currently using.

Formula:

[Code]....

This works perfectly for what I was needing but I am adding more criteria and running into a problem. I am rolling together usage for parts with different part numbers but the same function in order to reduce SKUs (as well as capture replaced SKUs) needed. These are located in Columns A:G. what i would like to add is more conditions to where the parts are going. Currently I have one location located in cell B2. To analize my usage further, I want to add another location in C2. So i want my formula to look like this.

Formula:

[Code] .....

when I use this it still only adds up with what matches in B2 regardless of the value in C2. Conversely, I can get the formula to work if I take out the extra part numbers.

Formula:

[Code] ....

View 6 Replies View Related

Using SUMIFS Across Multiple Sheets?

Jun 21, 2014

Using the SUMIFS function, I could successfully get the expected results from extracting data from 15 base separate excel files (from where the data will be extracted). However, whenever I am re-opening my master sheet(where I want the data to reflect) it gives me #VALUE!

Only after opening all my 15 base sheets, my master sheet fetches data.

View 12 Replies View Related

Sumifs With Multiple Criteria?

Jul 12, 2012

I created the following formula and cannot get it the correct result. The return result is only adding column "P' with "275". How can I get it to recognize "276,"278"?

=SUM(SUMIFS('Supplies Only'!N:N,'Supplies Only'!E:E,{"2","26","27","59","86"},'Supplies Only'!P:P,{"275","276","278"}))

View 6 Replies View Related

SUMIFS With Multiple Columns?

Jul 29, 2014

SUMIFS formula where it calculates multiple columns as SUM RANGE

Currently I've got this formula:

=SUMIFS(INDEX(Link!$C:$N;0;Mth);Link!$A:$A;LOGIC!B$82;Link!$B:$B;LOGIC!D$81)

The above mentioned formula works great, if I use it for one specific month, but not if I want to have my figures Year to date.

If I want to calculate the sum of multiple columns, and the sum is defined by the month I choose. How should the formula be?

For example: If I choose month 5, I want to calculate column C up till and including G (so only the first 5 columns), and if I choose month 8 it should calculate the sum of column C up till and including J.

View 9 Replies View Related

Multiple Selections From Listbox To A Single Cell?

Aug 9, 2013

how do I save multiple items selected from a userform listbox to a single cell on a worksheets? How do I have those values display in a listbox on a userform for editing data sets?

View 2 Replies View Related

Checking Single Cell For Multiple Values

Nov 12, 2013

I'm trying to validate the data entered into a series of cells each cell can contain a different set of data but the value N/A is also permitted. For example:

Cell A1 could contain a date from 2013-01-01 thru 2013-12-01 but the value N/A is also valid
Cell A2 could contain a decimal from 0.01 thru 302502.23 but the value N/A is also valid
Cell A3 could contain an integer from 3 thru to 9000 but the value N/A is also valid

When the acceptable values are entered then I want to be able to carry on otherwise I want to pop up with an error.

View 10 Replies View Related







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