Sumif And Autofilter Explanation

Sep 27, 2006

I managed to find a couple of responses and solutions to a problem I'm having but I can't quite seem to make it work in my example (probably because I have no idea on how to decipher the formula...)

The problem I'm having is that I have an autofiltered log on one worksheet and on a seperate worksheet, a summary reflects the autofiltered criteria but I also need the summary to break down the information by month.

The formula I'm trying to manipulate is:

= SUMPRODUCT(SUBTOTAL(3, OFFSET(C3:C9,ROW(C3:C9)-MIN(ROW(C3:C9)),,1)),--(C3:C9="John"),H3:H9)

But I've never used sumproduct or offset before so I'm not sure how to manipulate it... or if this is even the right solution!

View 8 Replies


ADVERTISEMENT

Autofilter With Subtotal Sumif

Nov 7, 2005

Small example of data

Name Amount Paid
Sheri $10.00 Yes
Sheri $15.00 No
Maureen $25.00 No
Maureen $12.00 Yes

If I AutoFilter the the list for Name "Sheri", how can I use the Subtotal
and Sumif functions together to show an answer of $15.00?

Or how can I use the Sumif or Sumproduct functions only on the visible cells?
Plus is it possible to show the filtered name "Sheri" in a seperate cell?

View 9 Replies View Related

Using SumIf With Subtotal Formula And Autofilter

Jul 16, 2013

Just to give you a quick overview (i cannot attach workbook due to data protection for our customer), I have a workbook with two tabs on it, an invoice summary tab and a rentals tab.

This is an extract of the table from my invoice summary tab:

Tab
Net (Zero Vat)
Net (Standard Vat)

Initial Rentals
Rentals
0

[Code] .....

The invoice data is on the rentals tab. Column "C" on the rentals tab details what type of rental it is, as per column A in the table above. the amount to sum on my rentals tab is in column "S".

I have a formula currently which looks like this:

=SUMIF(Rentals!$C:$C,'Invoice Summary'!$A2,Rentals!S:S)

this works fine.

Now the problem i have is i have an autofilter on the rentals tab which will be filtered by different accounts, I need the formula on the invoice summary tab to only show the visible amounts (as per the filter) and not the whole column. I was thinking of a subtotal formula but can't use a sumif and subtotal together (i dont think).

View 8 Replies View Related

How Do I Create A SUMIF To Ignore Cells Hidden With Autofilter

Feb 5, 2009

I have a formula to search a sheet for certain criteria and sum up the total, data is entered into this sheet by week number, where I then filter it for whichever week I need. I following formula works fine, but adds all the cells including hidden ones, how can i get it to ignore hidden cells??

=SUM(IF('FT Line 1-RX'!$C$2:$C$2100='FT costs 1-Rx'!B$1,IF('FT Line 1-RX'!$E$1:$GT$1='FT costs 1-Rx'!$A11,'FT Line 1-RX'!$E$2:$GT$2100)))

There is raw data in the 'FT Line 1-RX' sheet which is summed up in the 'FT costs 1-RX' sheet.

View 9 Replies View Related

Countif Formula Explanation

Jul 20, 2009

I came across this formula but could not for the heck of it understand what exactly does it do. I will really appreciate if some one can make me understand what this formula is intended to do.

=Countif(data,data)
where data is the named range..

View 9 Replies View Related

Explanation Of ROW() In Formula/Function

Aug 6, 2008

I have a formula in a spreadsheet set up by someone else and it says. =HLOOKUP(C$30,J$2:$N$259,ROW()-ROW($2:$2)+1,). Can some one explain what it is doing in the bolded part? I understand basic vlookup and hlookups but not what this is doing. I have looked at the help but it only says that it returns the row numbers as reference but what does that mean. - and what does the "+1," and the comma at end mean.

View 2 Replies View Related

Seeking Explanation Of INDEX Function

Jul 13, 2009

I'm looking for the reason why the following use of the INDEX function returns a cell address [ie the formula evaluates SUM($C$2:C3)]-

View 5 Replies View Related

Add Comment / Explanation When Drag Cursor Over Button?

Nov 11, 2013

Is there any way you can add comment/explanation when you drag cursor over Button for running macro? Same like here if you position cursor over b it would say "Bold".

View 7 Replies View Related

Explanation For Formula That Counts Number Of Numeric Characters

Nov 21, 2012

The formula below was posted recently as a way to extract a numeric substring from somewhere in larger string. When I first saw this formula, how it "came up with the goods" and so I spent some time looking at parts of it to see what they did.

Although I've made some progress, I still don't fully understand it. Heres the formula, and below Ive detailed how far I've got:

=Iferror(lookup(9.99e+307,--mid(a1,min(find({1,2,3,4,5,6,7,8,9,0},a1&1234567890)),row(indirect("1:"&len(a1))))),0)

I hope my findings below are correct:

1. The formula is returning the first substring of contiguous numeric characters from the full string in Cell A1
2. 9.99e + 307 ensures that the search value won't be exceeded by the returned value.
3. The Mid function uses Min(Find( to get the character position of the first numeric in A1 (so MID then has its first 2 parameters). So far so good.
4. Now... I cant work out where MID parameter 3 (the substring length) comes from. I suspect its the row function, but can't see how as this isn't an array formula, and without CTRL+Shift+ Enter, I could only get Row to return 1 in my experiments (giving me only the first substring digit).

How does the formula return the correct number of numeric characters, (apparently) without counting them?

View 3 Replies View Related

Compare 2 Tables For Exact Row (images Attached For Explanation)

Sep 3, 2013

I'm making a basic excel sheet as a hotel reservation tables. Sometimes we accommodate who do not follow the hotel regulation, so we add them to the black list table, made from (First name, Last name, Phone number). See image below:

Then if we reserve for a new customer, we use this sheet:

Here is my question:

what should i do, to make a raw color turn to red if i have entered a black listed visitor ?

e.g. if i enter "Martin" as a first name, AND "Issa" as Last name, AND "76344909" as a Phone. then the raw will turn to red to indicate that this customer is black listed.

View 1 Replies View Related

Improve Error Handling (give A Short Explanation To The User)

Feb 18, 2007

Improve Error Handling...

i would like to improve my error handling efforts (such as give a short explanation to the user, etc.)

Private Sub btn_SaveFile() ...

View 4 Replies View Related

AutoFilter Method Of Range Class Failed - Yet Autofilter Works.

Sep 25, 2009

Im sure this is a very common problem. I tried searching for it but I havent found anything that solves this for me. Here is the code Im using:

View 3 Replies View Related

Formula- To Pull Cell Values Similar To A SUMIF Function (SUMIF(range,criteria,sum_range))

Oct 25, 2007

I am trying to pull cell values similar to a SUMIF function (SUMIF(range,criteria,sum_range)). For example, in A1 I use a data list created from data elsewhere on the spreadsheet. In the data I created elsewhere, there are 2 columns being used. The 1st column is the information that is being used to create the list and the second column contains specific values (number or text). In the dropdown menu I select an available value (text or number) . When I have selected that value I would like cell A2 to show what the cell directly to the right of it shows from the data I have elsewhere in the spreadsheet as mentioned. I have tried the SUMIF function however it seems to exclude certain values (number or text) and I am not sure what else to use.

View 9 Replies View Related

Explanation Of Formulas Containing "TL" Reference

Jan 5, 2010

Have a workbook that was sent to me, linked to another workbook. Have just clicked into a cell to see the reference (there is no value in the cell, it is just coloured) to find this: ='[wwtrial M5 J14-20.xls]TL''s'!D5 I've not seen the TL''s'!D5 part before - can anyone tell me what it means??

View 3 Replies View Related

Nested SUMIF Statement Or Multiple SUMIF

Sep 17, 2009

I need to perform 2 SUMIF's on 2 columns of data to return a result and I'm not quite sure the best way of doing this. I'll give an example below.

I have 2 columns of data, both numeric and the SUMIF needs to say if H1:H100="10" and also if J1:J100="907". I can perform one or the other but not both.

View 6 Replies View Related

Copy Top Cell Post Autofilter And Reapply Autofilter Based On Cell Value

Aug 20, 2014

I can select the top cell in column "F" after filtering by multiple columns using VBA and arrays, but now want to I want to use the top cell in column "F" to search for all other equipment that uses this item.

E.g. remove filter, and reapply autofilter to column "F" based on selected cell as per below VBA

Note: Row 1 contains command buttons and row 2 Headers.

View 4 Replies View Related

SUMIF In A Column: The First Instance Of Each SUMIF

Apr 21, 2009

I have many kitchens using the same recipes. I need to distill information down until I've got a summary of how much is being made. Uploaded is a condensed version of the point in the process I'm having difficulty with. This workbook will pull information from 8 other workbooks and give me excatly what everyone made on any weekday.

And from there, with the kind help of this forum, I figured out how to do a SUMIF based on the recipe number. And it summed up all instances of 'Recipe X' being used. However, it continues to SUMIF itself all the way down the page... which is good, because of how recipes are chosen for each kitchen. However, I only need to report one instance of each recipe.

In the uploaded example (and I apologize for the colorful sheet, but it helped me double check what I was working on.) ... I only need to report the PURPLE results elsewhere... the first instance of each SUMIF.

View 5 Replies View Related

SUMIF And SUMIF Not - Using Two Formulas In One Cell

Feb 27, 2012

I am wanting to use these two formulas in one cell. Is there anyway to do this? If "AD3" is 0 I want this =SUM(X3:AC3) and then if cell "AD3" is greater than 0 I want to basically use this formula

=SUM(AH3,X3:AC3)-AD3.

Is there anyway to merge these two formula's?

View 2 Replies View Related

Set Autofilter To All Without Removing The Autofilter

Jan 16, 2007

I can set the autofilter, change it, remove all using Macros. What I need to know how to do is reset a filtered column to ALL while leaving all other filters on.

View 2 Replies View Related

AutoFilter

Jul 25, 2009

auto filter options in excel. For some reason it is only sorting up to row 140.

View 14 Replies View Related

Autofilter On More Than 2 Criteria

May 15, 2008

Say you have a long list of data, and you go to Data menu --> Filter --> AutoFilter

And then you want to use the Custom AutoFilter. Here's a screenshot:

[url]

Is there any way to do MORE than two autofilters?

View 12 Replies View Related

Autofilter With More Than Two Conditions

Aug 3, 2009

I have a list of item numbers in a column which is Autofiltered. I can go to the autofilter drop down and then to custom and select two item numbers to allow through the filter, however I have about ten item numbers that I want to allow through the filter.

View 10 Replies View Related

More Than One Autofilter On One Worksheet

Sep 17, 2009

Is it possible to have multiple instances of autofilter on a single worksheet? The two autofilters should not be related to each other and are on different sets of data (in different rows as well as columns but in the same worksheet).

View 2 Replies View Related

AutoFilter Is ON But Not FILTERED

Apr 16, 2014

I have a situation - where I have a table and a "eSubtotal" cell that basically shows the subtotal value when Autofilter is ON and a SUMIFS calculated value when Autofilter is OFF. I have written this in the Selection change event of the sheet.

For this purpose, I have perform a regular check of AutoFilterMode = true or false and based on this result, I change the formula in the cell, eSubtotal.

Now the challenge is, I don't want to apply SUBTOTAL formula when AutoFilter is ON but there is no filter in any of the columns. I want to keep the SUMIFS just like that in this case.

So far, no good luck..

View 1 Replies View Related

AutoFilter 0's & Non-Blanks

Sep 20, 2008

The following the code from the macro recorder. Is there a better way to execute this task in proper VBA code?

How do you add an [If...Then] critieria when 0 or 0.00 are not found, then continue to search for the next criteria, Non-Blanks?

I have 2 more questions within this .....

View 13 Replies View Related

Array In Autofilter

Oct 1, 2008

When I run the following code, it just returns records that matches "Commonwealth" and not a single record with "State". What am I doing wrong?

View 10 Replies View Related

More Than Two Criterias In Autofilter

Nov 3, 2008

i am trying to filter data based on more than one criteria (8 to be precise). I have some data in one worksheet and i need to transfer it to other worksheets depending on certain criteria. for example if cell A1 has A or B then it should go to "temp1" spreadhseet, if A1 has C,D, E, F, G or H then it should go to "temp2" worksheet etc.

Is there a smart way of doing this rather than writing a number of with statements using 2 criterias each and hence copying data in more than one attempt (and thus slowing down the macro)?

I did think of using creating a dummy column, then using If statements to write True or false in that column, using true & false to filter and copy the data and then finally deleting the column. but as i understand i can not have more than 7 nested if statements but i have 8 criterias.

View 8 Replies View Related

Last Visible Row With Autofilter

Jun 2, 2009

I have an autofiltered sheet, on which I need to find the last visible row (all columns have the same # of rows in use). I am trying to use:

View 4 Replies View Related

Resetting AutoFilter

Aug 13, 2009

Code runs rather slow. Is there a better way to achieve the same results?

View 5 Replies View Related

Autofilter To New Workbook

Oct 8, 2009

I have a workbook of approx. 60,000 rows, with about 20 columns including a source identity column, such as 'Leeds' , 'Barnet' etc..

What i need is a solution that will auto filter all rows that have a value of 'Leeds' in the source column into a new workbook called 'leeds.xls' for eg. and so on (for each unique source value) and loop until the whole data set has been filtered.

Saves manually filtering, copying and pasting....over and over.....

Im guessing the VBA needs to build / look at an array etc...

View 14 Replies View Related







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