Combine Index And Frequency Into One Formula
Feb 13, 2007
im using this formula =FREQUENCY(Sheet1!B1:B100,A2:A11) to calculate the the frequency of my data from B1 to B100. I would like to know how i can insert the Index formula into the formula above so i can get the frequency of the first 100 rows even if i add rows.
View 2 Replies
ADVERTISEMENT
Oct 27, 2009
making a roster file for our school clinic so that reports can be generated automatically and there are less hand-written records around.
I am having trouble with the 'Supplies' sheet, where I am attempting to sum up the quantities (column k) adjacent to all occurrences of a supply in Column J sheets 1 through 31. So that we can know how much of x supply was used in the whole month and so on.
=INDEX('24'!$J$3:$K$106,MATCH(B5,'24'!$J$3:$J$106,FALSE),2) Returns a value, but that is because sheet 24 has a value for b5, problem is if i use +INDEX and any of the sheets dont have a value for B5, the result is either VALUE or N/A
=SUMIF('1:31'!J5:J105,B6,'1:31'!K5:K105) gives a VALUE! error
I've also tried =INDEX('1:31'!$J$3:$K$106,MATCH(B5,'1:31'!$J$3:$J$106,FALSE),2)
View 9 Replies
View Related
Apr 14, 2014
I have ID in column A and amounts in column B. ID's are duplicated, and I need to add amounts based on ID, so for example total of ID 156 should be $13,851.14 or 156 should be 7,290.63.
In the following example ID are in order, I need a formula that adds up the amounts in column C.
152
(14,542.81)
152
(199.25)
153
(37,554.98)
153
(19.92)
[Code ...........
View 5 Replies
View Related
Dec 15, 2013
Now I'm trying to improve the functionality of the file attached above.I've attached the file again with another drop-down menu. What I'm trying to do is to have a sum of all the months between the two months indicated in the drop down menu.For example by picking two months from the drop down menus, I want to know the sum of the values between Jan-Mar (Jan, Feb and Mar), or for example Jul-Oct (Jul,Aug,Sep and Oct)...
I've tried to combine SUMPRODUCT with INDEX and MATCH but it doesn't work. I want to build upon this formula:
[Code]....
I forgot to mention that I have multiple strings (column E) which are NOT unique. Basically "VLOOKUP way" won't work, rather it should be "SUMIF way".
In the attached file I've added one additional row (r19), which is the same as r18, just to try how the summing will work.
Dynamic SUMIF(S).xlsx
View 7 Replies
View Related
Jan 10, 2008
I hope someone can help me with adding an additional criterion to the formula below, which works and provides an accurate answer. The array formula is:
{SUM(IF(FREQUENCY(IF('Sheet1'!$O$5:$O$315="",IF(Sheet1'!$B$5:$B$315"",MATCH("~"&'Sheet1'!$B$5:$B$315,'Sheet1'!$B$5:$B$315&"",0))),ROW('Sheet1'!$B$5:$B$315)-ROW('Sheet1'!$B$5)+1),1))}
Where Column O has either a date or is blank.
Where Column B has a unique ID number which occurs more than once.
What I need to add is one more criteria from Sheet1,
Where Column P has a unique names which occurs more than once.
I tried two changes:
1. Adding an additional IF statement as follows: SUM(IF(FREQUENCY(IF('Sheet1'!$P$5:$P$315=A$8,IF('Sheet1'!$O$5:$O$315="", ... Which I couldn't get to take; and
2. Adding a IF AND statement as follows: SUM(IF(FREQUENCY(IF(AND('Sheet1'!$P$5:$P$315=A$8,'Sheet1'!$O$5:$O$315=""), ... Which took but gives me a #VALUE error.
View 9 Replies
View Related
Feb 12, 2010
I am using the below formula to distinctly count the number of customers that match the criteria that I have in Cells C7 and B10. The data is in a separate worksheet, that I am showing Named Detail of which will be changing on a monthly basis, so a pivot table does not want to be used. The detail data ranges from row 7-40,000, and the file is currently 8610KB's, and can potentially grow.
=SUM(IF(FREQUENCY(IF(Detail!$A$7:$A$40000=C$7,IF(Detail!$B$7:$B$40000=$B10,IF(Detail!$D$7:$D$40000<> "",MATCH(Detail!$D$7:$D$40000,Detail!$D$7:$D$40000,0)))),ROW(Cust)-MIN(ROW(Detail!$D$7:$D$40000))+1),1))
This formula works but takes an excessive amount of time for one caluclation, and I need this for multiple column and row critera. So, can this calculation be changed in order to get the same result with faster calculation time? I am using Excel 2003.
View 6 Replies
View Related
Jun 21, 2013
I use the following CSA formula to give me the total highest intervals of zeros in a range. I understand how most of it works apart from one thing and that's how the data array and bins array give me the result.
=MAX(FREQUENCY(IF(H2:Y2=0,COLUMN(H2:Y2)),IF(H2:Y2>0,COLUMN(H2:Y2))))
So this is what I understand:
H2:Y2=0 - Returns TRUE/FALSE in the array based on range having 0 or a value other than that - ie{TRUE,TRUE,TRUE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE}
COLUMN(H2:Y2) - Returns the column number {8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}
IF(H2:Y2=0,COLUMN(H2:Y2)) -Returns the column number for every TRUE value
IF(H2:Y2>0,COLUMN(H2:Y2)) - This does the same as the above steps but returns column numbers for every cell that contains a value greater than 0
MAX - Returns the biggest number within the array ie =MAX({3;0;0;0;0;0;9}) would return 9
What I need to know is how the FREQUENCY formula gives {3;0;0;0;0;0;9}
View 3 Replies
View Related
Mar 11, 2014
Using frequency in a data validation formula for ensuring unique entries.
Currently I use COUNTIF($B$2:$B$244,B2)
View 4 Replies
View Related
Apr 29, 2013
Frequency
Formula to show the final/total a numeric values appears in an adjacent column.
I am currently attempting (I've researched many posts on this), to count /show the final totals a duplicate numeric value appears in one column, in an adjacent column (example below).
I am currently using an array Frequency formula below (courtesy of the board) filled down in column Q. this works well to count the frequency of duplicate numeric values appear on the list.
Formula used in Column Q below
{=IF(C2>=0.1,MAX(FREQUENCY(IF(C2:$C$1000=C2,ROW(C4:$C$1000)),IF(C2:$C$1000C4,ROW(C2:$C$1000),""))))}
However my aim is also to show the final entry of a numeric value in adjacent column R, by displaying text to indicate this. My example below shows “final” in column R
NB: My list is sorted by column C to ensure all numeric values are in ascending order.
Example
Column C Column QColumn R
12567 1 final
15789 1
15789 2
15789 3 final
23456 1
23456 2 final
12678 1 final
18965 1
18965 2 final
View 5 Replies
View Related
Apr 9, 2009
I have some student marks in columns B to F. If some one get below 40 marks he fails and the subject in which he has been failed will come in Remarks column. If he has passed in all subjects remarks column will show Pass.
To bring failed subject initial in Remarks i have to create 5 additional column and then thru Concatenate i joined them.
Is There any formula to show fail subject in Remarks column without creating 5 additional columns?
View 14 Replies
View Related
May 21, 2012
Is there away to Combine a Text Entree in a Formula with a Formula
=IF('VEGAS - Main'!Z9=1,"MIXED DBLs","")
I am trying to do something like this:
=IF('VEGAS - Main'!Z9=1,"TEAM EVENT"+'Mixed Doubles'!P9
Result will be MIXED DBLs 1st Place
View 5 Replies
View Related
Mar 12, 2009
I have 2 cells, one has a first name the other has a last name for instance:
A1 = Joe
B1 = Smith
I am trying to combine the first letter of the name in A1 with the next 3 letters in B1 so that C1 = jsmi
View 2 Replies
View Related
Jul 1, 2013
I have a formula that computes the row number in B58. I would like to combine the row # in the formula after M_MAN!A1015 for eg M_MAN!"&B58&" instead of having to type this. I can then use the foormula to copy the balance of the formulas
=-SUM(OFFSET(M_MAN!A1015,0,22),OFFSET(M_MAN!A1015,0,23),OFFSET(M_MAN!A1015,0,24))
Workings BC57Row #Quarter5810150Spreadsheet FormulasCell
FormulaB58=ROW(HC_MAJOR_EXP)C58=-SUM(OFFSET(M_MAN!A1015,0,22),OFFSET(M_MAN!A1015,0,23),OFFSET(M_MAN!A1015,0,24))
View 2 Replies
View Related
Jun 16, 2008
I want the user to select a currency pair in cell B4, eg, EUR/USD
Then cell R4 will look to see if there is any data in B4 and, if so, return the following value into Cell R4....
=MT4|BID! & cell B4 & "m"
the cell b4 is the bit i am not sure about.
View 9 Replies
View Related
Jan 29, 2009
Basically i need to type in a formula in sheet 1 under each of the months that will match the account name and location from B1 and C1 to the data range in sheet 2 (Columns B and C) and return whatever value is listed on sheet 2 under column E. My gut tells me I need to use multiple look ups but I've tried this and got numerous errors.
View 9 Replies
View Related
May 23, 2014
Combine two lookup/IF formulas:
[Code]......
So if formula 1 conditions aren't met then it by default would result in formula 2 conditions being met.
View 5 Replies
View Related
Jan 23, 2014
Formula 1 : =IF(SEARCH({"spinning"},A2),"AUTOGEN")
Formula 2 : =IF(SEARCH({"typing"},A2),"Manual")
I want to combine above two formula's with "OR" function.
View 3 Replies
View Related
Mar 3, 2014
I have a problem with a cumulative countif and offset formula that I am unable to solve. See the attached spreadsheet for an example of the dataset I get out from our systems.
I want the formula to be fully automatic, so when I change the month in column K2, it will automatically count all the different outlets in column B based on criteria in column L3 and downwards. The dataset will be updated monthly obviously.
I believe that it could be solved with the usage of a countifs + offset formula or something similar.
The main idea of the spreadsheet is to track the movement of customers between different chains. It is thus important that customers that show up in January will not be counted again in February or March, thus creating an unique countif list based on a given month.
Number of outlets example.xlsx
View 12 Replies
View Related
Aug 19, 2009
I have a column say column A that holds text. If the values match say:
ABC1 or
ABC2 or
ABC3
And also match column B if it shows "Yes" then show "Correct" or "Not Correct".
View 3 Replies
View Related
Jan 26, 2006
Is there any way to combine the VLOOKUP and IF Statement formula's into one
formula or is there any other kind of formula which does both?
View 9 Replies
View Related
Nov 27, 2008
I'm looking for a formula to return the correct value without using any help-column and it should be typed in no more than one cell.
View 10 Replies
View Related
Aug 23, 2012
Is there a formula that can be used to combine a date and a time that will be formatted correctly?
For example if I have the following values:
A1: 08/03/12 (Date)
A2: 16:45:39 (Time)
And then I want A3 to be 08/03/12 16:45:39 as the Date/Time. Can this be done with a formula?
View 2 Replies
View Related
Jan 28, 2013
I have two columns each column has a combination of the same 3 words "cash", "card", and "trade". The are formatted as "Cash & Card & Trade" or "Cash & Card" or "Card" ect. I want a formual that can combine the entries written into each columan into one column. I will put an example below.
A
B
C
D
1
Client
new
old
both (formula in this column)
2
name 1
Cash & Card & Trade
Cash & Card
Cash & Card & Trade
3
name 2
card
cash
Cash & Card
[code]....
View 3 Replies
View Related
Mar 5, 2014
How to combine ISNA and ISBLANK in the below formula such that it returns empty cell if vlookup cell is blank.
HTML Code:
=IF(ISBLANK(VLOOKUP(B4,'C:UsersArulDesktop[Common Spares 1.xlsx]Sheet1'!$B$1:$L$77,2,0)),"",VLOOKUP(B4,'C:UsersArulDesktop[Common Spares 1.xlsx]Sheet1'!$B$1:$L$77,2,0))
View 5 Replies
View Related
Sep 20, 2008
I am using this formula
=IF(SEARCH("pipe",A2),VLOOKUP(C2,Sheet2!A4:B12,2))
to look up a reference code for "pipe". The reference codes for "pipe" are in column 2 of a table on sheet 2 and are dependant on the dimensions of the pipe given in column 1 of the same table. C2 in the formula is where the dimensions are given. (hope that's clear ).
What I want to do is to extend the above formula to look up column 3 of the table on sheet 2 if, for example, A2 contains "Bend", i.e., =IF(SEARCH("Bend",A2),VLOOKUP(C2,Sheet2!A4:B12,3)).
Combining those two formula using "=if(and " worked for me for the first test, but changing the contents of A2 from "pipe" to "Bend" results in a #Value type error.
I can't use if A2 = "pipe" because extra words could be introduced into A2, e.g., "copper pipe" - therefore the equals would not be appropriate.
View 9 Replies
View Related
Mar 13, 2009
Is there a faster way to combine all the P.O# with a formula automatically, no matter how many P.O# there are? Its unpredictable on how many invoices will get pay per wire.
Log # Amount P.O. Numbers 1-a 45,678 1234 1-b 89,173 5678 1-c 66,526 9123 2 22,113 2345 3-a 66,654 6789 3-b 88,650 2468
1 201,377 1234/5678/9123 2 22,113 2345 3 155,304 6789/2468
View 10 Replies
View Related
Nov 10, 2006
I am trying to combine a subtotal formula in sumproduct formula but end in error. Appreciate if someone can assist me with the right formula. I would like to combine subtotal in the following sumproduct formula:
=SUMPRODUCT(((C3:C9)=C14)*((G3:G9)=B15)*(H3:H9))
View 5 Replies
View Related
Sep 27, 2009
What i want to do is to look up of the value of home and away games seperatly. if there is no match for the lookup i get the "N/A" and if there is no value i get "0". If i get 0 the formula will calculate as a lost game.
View 10 Replies
View Related
Sep 8, 2012
I am attempting to use concatenate to combine two cells of data, but to only display the information if both cells contain information.
Currently using the following simple formula:
=concatenate(a1,a2)
However, I only want it to work if both a1 and a2 cells contain data. If only a1 contains information, but a2 is blank, I want it to calculate a blank cell.
View 3 Replies
View Related
Jun 20, 2014
How do I combine a formula and text in the same cell in excel 2010.
What I am looking for is the sum of a number of cells, followed by text.
e.g. something like =SUM(E4:E50)"/35"
If the sum result of cells E4:E50 was 10, I would be expecting to see visible in the cell '10/35'
How do I write this formula?
View 3 Replies
View Related