How To Add Multiple Formulas
I'm trying to add the sum of two seperate columns on two seperate criteria.
The formulas needs to add all cells in range B9:B149 that contain the word "OPEN" and that also contain thw word "MF" in the cell range of C9:C149 to give me a numerical total.
I tried using the IF, COUNTIF, SUMPRODUCT but the mutliple criteria is beyond me.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Using Multiple COUNTIF + AND Formulas
Is it possible to use multiple COUNTIF combined with AND formulas in a single cell? The current cell equation is =COUNTIF(C14:C83,"Alpha Full")+COUNTIF(C14:C83,"Beta Full")+COUNTIF(C14:C83,"Final Full") But I need to to only add those cells if another parameter, namely if another cell continas a certain month. For example something like this =COUNTIF(C14:C83,"Alpha Full")AND(b14,"November")
View Replies!
View Related
Multiple If Formulas Plus Sum Formula
I am not sure what the best way to describe this is but here I go. Year Account Net Amount 1 2006 Travel Expenses $5,000.00 2 2007 In Kind Time $2,500.00 3 2008 HR Time $3,000.00 4 2006 Travel Expenses $1,500.00 5 2006 In Kind Time $2,500.00 6 2007 Travel Expenses $6,000.00 I need to create a formula that will say: If column A1:A6 has a ,2006, and column B1:B6 has "Travel Expenses", than Sum C1:C6. The answers should be: 2006 Travel expenses = $6,500 2006 In Kind Time = $2,500 2007 In Kind Time = $2,500 2007 Travel Expenses = $6,000 2008 HR Time = $3,000
View Replies!
View Related
Changing Multiple Formulas To =IF(,) At Once
I have a page of formulas, comprising of about 12 colums and 250 rows. Each row has a different formula (although there is a recurring pattern). I will demonstrate what I'd like to do with a simple example: Currenty, one formula is: =E6/E15 I'd like to make it say this : =IF('Sheet1!'A1=1,E6/E15,0) I can't CtrlH and replace, because each formula is different. Is there any way to change an entire sheet of formulas at once (or a selection) to incorporate an IF statement? The formula itself that was originally there becomes part of the IF statement, so I think there may be a way.
View Replies!
View Related
Combine Multiple If Formulas
i have 2 worksheet function IF statements that of course look for certain conditions, but in some instances i need to combine the IF statements in one cell, the 2 i need to combine are below: =If(D3="S","Sick",If(D3="SW","Swapped",Sheet2!B3)) =If(Or(C1="Line On",G1="Line On"),Sheet2!B3,"") so what i need is for the cell to show either Sick, Swapped or the contents of Sheet2!B3 however if both C1 and G1 show Line Off then cell must be blank, which is what i achieve with the second if statement.
View Replies!
View Related
Activating Multiple Array Formulas At Once...
Does anyone know how to activate a block of different array formulas at once?? Example: N7:Q80 has a total of 296 Array Cells. Each has a unique formula & I cannot just drag to fill these nor can I activate all at once. In the future, I don't want to have to manually activate them w/F2, CTRL+SHIFT+ENTER. btw, Why do I have to press F2? Is that only in Excel 2007? I googled pretty extensively & don't see an option how to only press CTRL+SHIFT+ENTER. It would be nice not to have to press F2 everytime.
View Replies!
View Related
Copy Formulas From First Row To Multiple Rows With Some Changes
I have 100 excel file in a folder such as File1, File2, File3, File4 etc.There are some figures and reports on these files. format of all the excel files are same except values. And I have a master file. As is: On my Master file, I have n number of formulas in Row 10,which gets data from the above excel files. eg. Master file Sheet1 Row 10, I have formula like this from Column B ='[File1.xls]Sheet1'!$A$1 [File1.xls]Sheet1'!$D$1, ='[File 1.xls]Sheet1'!$A$1 [File 1.xls]Sheet1'!$M$1 etc. In Row 11, ='[File2.xls]Sheet1'!$A$1 [File2.xls]Sheet1'!$D$1, ='[File2.xls]Sheet1'!$A$1 [File2.xls]Sheet1'!$M$1 etc. If there are 1 or two files then I can type manually in each rows, But I have more than 100 files. So i need a macro which copies the formula from Row 10 to rest of the rows, If there are 100 files with different names in the folder, the formulas have to be copied to 100 rows in the master sheet. if the file name changes on the formulas I will get the data correctly.
View Replies!
View Related
How Do I Create Multiple Formulas In One Cell
I have a list of numbers that I want to identify the highest and second highest numbers and create a mathematic result. For example. I lets say I have 15 stocks "B19:P19" I have X amount of money to invest "Q21" I want to invest 85% of Q21 in the highest of B19:P19 and 15% in the second highest. If there are 2 highest that are tied I want to split the 85% of Q21. SO far I have been able to identify the Highest and show it at 85% of Q21 with this =IF(B19=(MAX(B19:P19)),(Q21*0.85)) but I am not sure how to get the rest of it to do what I want.
View Replies!
View Related
Add Multiple Formulas In Row & Auto Fill Down
I am trying to do can’t really be recorded, at least i don’t think it can. I have a report that I run off and after I loaded it in Excel I then have to add in five columns at the end of the sheet. These are always in the same columns: R,S,T,U,V. These are the formulas I have to then input R =IF(G2="no invoices",A2,"") S=IF(I2="Match",A2,"") T=IF(I2="Sent to AP",A2,"") U=IF(I2="Force Settled",A2,"") V=IF( COUNTIF($R$2:$U$10054,A2),A2,0) Note for column V, the range R2:U10054 would depend on how many rows is in the report, its just in this example the report does have 10054 rows. The columns would always stay the same. I would then copy the formulae down for the number of rows that is in the report and filter column V by entries that equal zero to give me the rows I am looking to analyse. Is this the type of thing that can be written as a macro so that everytime I have a new report open in Excel I can just run the macro and it will do all of this for me?
View Replies!
View Related
Multiple Nested IF & SUM Functions/Formulas
I am currently having trouble with what I thought was a simple IF statement. As you will see from the formula I want to complete a statement for every month of the year but Excel will not let me go past July. Is there a limit to the number of arguments in an IF statement and how do I overcome this? =IF($A$3="Jan'08", SUM(C7),IF($A$3="Feb'08",SUM(C7:D7),IF($A$3="Mar'08",SUM(C7:E7),IF($A$3="Apr'08",SUM(C7:F7),IF($A$3="May'08",SUM(C7:G7),IF($A$3="Jun'08",SUM(C7:H7),IF($A$3="Jul'08",SUM(C7:I7),"n/a")))))))
View Replies!
View Related
Data Validation: Multiple Formulas Required In 1 Cell?
I currently am using Data Validation dropdowns (which are identically referenced) in a number of cells (From J10 to J19). Each entry refers to a Crew departure &/or arrival time (based on an Aircraft schedule) and crew Subsistence & allowance ($17 per day). Referenced from “K10:K19” is USD currency: DAYS:CURRENCY: “J10:J19” “K10:K19” “FULLWEEK”(References 7 Days) = “USD 120.00” “SATURDAY (DEPART)”(References 2 Days) = “USD 35.00” “SATURDAY (ARRIVE)”(References 6 Days) = “USD 100.00” “TUESDAY (DEPART)”(References 5 Days) = “USD 85.00” “TUESDAY (ARRIVE)”(References 3 Days) = “USD 50.00” I am trying to establish a way to specifically; select a particular day in the Data Validation dropdown menu (J10:J19) and a formula automatically converting the result to “USD Currency” for each of the 5 alternatives? So in other words, each data validation cell will have 5 matching formulas pertinent to each specific orientation (Day)? E.G.Select “FULL WEEK” from the dropdown option and “USD 120.00” is revealed / converted? Select “SATURDAY (DEPART)” from the dropdown and “USD 35.00” is revealed? ... “SATURDAY (ARRIVE)” = “USD 100.00” ... “TUESDAY (DEPART)” = “USD 85.00” ... “TUESDAY (ARRIVE)” = “USD 50.00” The closest I have managed (with no real success) is as per the following formula: IF(T26="FULL_WEEK",X26,IF(T26="TUESDAY_(ARR)",X27,IF(T26="SATURDAY_(ARR)",X28,IF(T26="TUESDAY_(DEP)" ,X29,IF(T26="SATURDAY_(DEP)",X30))))) I would be so incredibly grateful if somebody could help me (in laymen’s terms)?
View Replies!
View Related
Adding Constraints To Averaging Formulas Over Multiple Cells
I have data for 500 companies over 10 years, in three criterions: “EPS”, “DPS” & “PX” (i.e. earnings, dividends and price). For each company I have four lines recording the data, and given a letter code indicating how the change in dividends and earnings have been according to the following (Examples) DDED = Dividends Decreased & Earnings Decreased NDEI = No Dividends & Earnings Increased As can be seen below this code is present for each company What I need help with is some sort of lookup function which takes the average of the price changes (which is given in numerical values) only for the companies which code is equal to the code in the reference field. So something like: =AVERAGE(IF((MOD(ROW(D2:D2353)ROW(D2)+1,5))=0,IF(D2:D2353"",D2:D2353))) (currently counting every 5th line, since there is 4 lines between respectively PX/DPS/EPS for each company) –But with a constraint indicating only to include the value in the calculation if the codes are the same (e.g. "DIEI" = "DIEI"). So that the value, which is currently 20.96% (which now includes ALL price values), would only include those for the respective group (in this case, companies in the DEEI group).
View Replies!
View Related
Multiple Formulas Causing File Size Increase
I am working with 4 seperate workbooks where 4 different people enter data into cells. I have a 5th workbook that needs to have all the data from the 4 individual workbooks bought across so I can see all data. Like a master file. basically, in each cell of the master, I have the following code. =IF('[loans  0708  officer 01.xls]0708'!B5="","",'[loans  0708  officer 01.xls]0708'!B5) I then have the code for each officer. As there are 24000 lines collectively for the financial year, the size of my master is 37mb, even when its empty, obviously cause each cell still have a formular in it. Is there ANY way to copy across the data from other workbooks without having to have every single correpsonding cell have this kind of formular to view the code? Also, copy it without having to open the other workbooks.
View Replies!
View Related
Paste Formulas As Values (strip Out Unwanted Formulas)
I have a macro running this code to strip out unwanted formulas and formatting. Sub Quote_Wrapup() 'To stop screen flicker Application.ScreenUpdating = False Range("CDandC").ClearContents Range("qdata5,qdata6").Font.ColorIndex = 2 'To delete delivery address lines if 1st line empty If IsEmpty(Range("deliver_line1")) _ Then Sheets(1).Range("deliver_rows").EntireRow.Delete 'No End If required as only one action as a result of the If Range("Item_Nos").SpecialCells(xlCellTypeBlanks).EntireRow.Delete Columns("A:E") = Columns("A:E").Value ......................... A spreadsheet based on my template has been sent to me because the macro won't run properly. When I try to run the macro I get a Runtime Error '1004' Method 'Range' of object '_Global' failed on the following line. Columns("A:E") = Columns("A:E").Value.
View Replies!
View Related
Using Two IF Formulas (3 Or More To Count If Other IF Formulas Are Actually Returning A Value)
I have a spreadhseet with various functions on it and what I am trying to do is this. Cell E4 returns a >35 or <35 true or false value Cell G4 is either blank or has "Yes" text type into it. What I am trying to do is get cell F4 to return certain arguments. E4 = >35 and G4 is blank I want it to state "Email Hiring Manager" E4 = ,35 and G4 is blank I want it to state "Wait" I have a basic IF formula that returns this =IF(E4>35,"Email Hiring Manager","Wait") Then if cell G4 is populated with a Yes the formula needs to overwirte the origonal if with the return arguments of =IF(G4="Yes","Email Agency","Email Hiring Manager") If yes then what would be Email Hiring Manager (yes will only be input if E4 is greater than 35) will be overwritten with "Email Agency" Can this be done with two If formulas or does there need to be 3 or more to count if other IF formulas are actually returning a value?
View Replies!
View Related
Combining Multiple Cells In Multiple Worksheets In Multiple Workbooks Into One Table
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 Replies!
View Related
Formulas Are Not A Value
Do If ActiveCell.Value Is Value Then ActiveCell.Select Else ActiveCell. Offset(1, 0).Select End If Loop Until ActiveCell.Value Is Value For some reason when you have a formula in a cell but no data, it says its greater than zero...but because there is no data in that cell, but only a formula, is there anyway to get this code to work.
View Replies!
View Related
Add Row With Formulas
I've got a generic question here about adding a row with formulas above the subtotal line. In the table below I have some simple rows of sums and a subtotal row at the bottom. If a macro is run how can I insert a new row with the same two formulas in the row one above the Subtotal row....
View Replies!
View Related
If Formulas In VBA
I have a sheet of data which is refreshed eash day, the data has frequencies and values in it. I need the code to say: if column E:E = Monthly, and column M:M = Annually then divide the value in column N:N by 12 If column E:E = Monthly, and column M:M = Quarterly then divide value in column N:N by 4 We have these four freqencies: Monthly Quarterly Half Yearly Annually and the above code will need apply to all scenarios i.e. if E:E = Quarterly and M:M = Monthly then x N:N by 3. E:E being the origonal frequency and M:M being the new one, we need to know the value of the new gift at the old frequency.
View Replies!
View Related
Tax IF Formulas
I need help figuring out an IF formula that would allow me to calculate the tax owed. The tax rates are 20%, 25% and 30% and the full bracket total for 20% is 4,000$ and for 25%, 11,500$. In D14, I have as a taxable income, 20,000$ and In E14, I would need a IF formula that calculates that... but I would need to copy only one formula down the E column to be used on varying taxable incomes...
View Replies!
View Related
Add New Row With Formulas
I am working on a sheet that will have a large range of rows used. There is formulas within a few cells in each row specific to that row. When the user enters data into colum A of the last empty row would there be a way to insert two new rows below that row with formatting and formulas? The toughest part for me has been keeping the totals at the bottom updated. I attached the sheet to help explain if I haven't done a very good job at explaining it.
View Replies!
View Related
Using Excel Formulas In VBA
I need to fill a range (I58:AG66) with either a VLOOKUP or a IF formula based on a selection made in B3 (a dropdown box with about 20 choices). I've tried typing the formulas in (IF(OR(B3="A",B3="C"),VLOOKUP,IF), but the formula just becomes too long and takes up too much time to recalculate. Is there a way to go to VBA and have a macro insert either VLOOKUP or IF in each cell in the range. The VLOOKUP looks at the date in each column so each cell needs it's own formula.
View Replies!
View Related
Fetching Formulas From Another Tab
In the first tab, I have different values for: 1)workdays 2)Saturdays 3)Sundays, for every 0,5h. In the second tab, I have a list with every 0,5h for one year. Now I'm trying to make this tab fetch the values from the first tab. Thus, for instance for 2006: *The year starts with a Sunday, so all the corresponding values for Sunday are fetched. *Then it just goes on: fetching 5xworkday+Saturday+Sunday and so on.
View Replies!
View Related
Vba Date Formulas
I've created a formula that concatenates 3 parts in VBA. column A, B, C.  colunm C is a general info column and can be general text OR a date value.  if its a date value it ends up being concatenated as the sytems value i.e. col A1, col B1 and col C1(16/01/2007) becomes A1+B1+C1(39098). im using... '//original: =IF(Q3<>"",CONCATENATE(Q3,R3,L3),"") ws. Range("S" & irow).Formula = "=IF(Q" & irow & "<>"""",CONCATENATE(Q" & irow & ",R" & irow & ",L" & irow & "),"""")" The red is the column that can be text or date. i have tried passing col C1 to a string variable but i get #name error when i refresh the code.... infoStr = ws.Range("L" & irow).Value...........
View Replies!
View Related
Automate Formulas
i have 110 different columns. i want to do the same thing to each of these formulas (ie i want to calculate things like ln (A2 / A1) is there some way i can automate this process so i only nhave to type in my formulas once and it will automatically enter in the same formulas for the other columns?
View Replies!
View Related
Rolling Formulas In VBA
I have a column of data (Column A) and I'd like to build first the Average of the first 20 data points (like in an Excel spreadsheet, cell B21 will contain the average(A2:A21), cell B22 will contain average(A3:A22), and so on... rolling). I looked up on the internet, but I simply don't know how to start with, I mean, how to name the new array and make it rolling. Then I will need to calculate STDEV for the same interval, and then Zscore ((Value  Average)/STDEV), but I guess it comes automatic once you made the first part.
View Replies!
View Related
Formulas Will Not Evaluate
I cannot figure it out for the life of me. When I type a formula into a cell it will not evaluate, instead it just displays the text of the formula. When I go to evaluate the cell  Tools  Formula Auditing  Evaluate Formula It tells me that "the cell currently being evaluated contains a constant." What do I need to change so that cells will evalute formulas I put into the?
View Replies!
View Related
Formulas In Columns
Is it possible to apply a formula with a relative reference to an entire column? I have a very long, constantly updated datasheet for pivot tables and this would be a most helpful thing to know.
View Replies!
View Related
SWITCHING BETWEEN FORMULAS
I am trying to figure out commissions with 3 different commission structures depending on type of product. So on C2 I have a drop down box with the 3 types of products. So what I would like to do is when C2 shows say "New" I want it to calculate using one formula. When "used" is selected, I want to use a different formula. And when "scratch_dent" is used, I want it to use a 3rd formula.
View Replies!
View Related
Find How Many Formulas You Are Using
When all is said and done, and you've finished an enormous amount of work in a workbook, is there an automated way, or something in the options to find out just how many formulas you used in it (aside from counting each cell with your cursor, lol)?
View Replies!
View Related
Two Formulas Need To Combine As One
I have two formulas that i need to combine as one, but i dont now how. This is the other formula: =SUMPRODUCT((Huollot!I2:I500="Ty”n alla")*(Huollot!K2:K500="Warranty")*1) The other one: =IF(NETWORKDAYS(Sheet1!C1;Huollot!C2:C500)>20;1;0) the biggest problem is that this formula does not work as it is. Or is there some other function than networkdays that i could use? The purpose of the formula is to count how many "objects" that are in service have been there for over 20 days. There a a few other criteria also, but sumproduct takes care of that. Can networkdays even be used the way i´m trying to?
View Replies!
View Related
Subscripts In Formulas
I am trying to include a footnote in a cell yet maintain the number for my formulas. For example, how would I input "$2.50 (1)", whereby "(1)" is a subscript and does not impact any calculations. That is all calcs are using $2.50 and NOT $2.501.
View Replies!
View Related
Formulas  #DIV/O! Result
I am trying to work out if there is an excel formula to calculate the below..... I have 2 cells A & B and if i divide A by B and the result is 0 (ie there being 0 in both A & B) I get a #DIV/O! result when I need it to show a 0
View Replies!
View Related
Autofilter With Formulas
I have one basic spreadsheet with all the data and then I filled a second spreadsheet with weighted averages based on the data in spreadsheet 1. However, then when I switch my filter on spreadsheet 1 all of the numbers change in spreadsheet 2.
View Replies!
View Related
Formulas Too Much Memory
i have a spreadsheet on Excel 2000, which is 256 column's wide and 4000 long the only formulas are countif which start at row 10004000 and are copied to column 256. Just for the one sheet it is 14mb is this normal
View Replies!
View Related
Formulas Across Two Workbooks
In Workbook 1 O1, I need a formula that will, if Workbook 1 M1 = "Yes", find the value from Workbook 1 N1 anywhere in Workbook 2 Column E, and when it is found, look at the value 2 columns to the right in Workbook 2. If there is a value in this cell, return "Yes" in Workbook 1 O1. If there is no value in this cell, return "No" in Workbook 1 O1. If Workbook 1 M2 = "No", the formula should return "No".
View Replies!
View Related
IF Formulas Not Working
Here is what I would like to do: Anytime there is a 1 in column B, I would like for columns GI and columns LN to display "N/A". I have tried all kinds of formulas, none of which will work.
View Replies!
View Related
Linking Two Formulas
in each cell I have formatted a Workday formula which is for example: =WORKDAY(D16,3) Now I want to add to that function "If D16 is blank return blank" What I am getting at the moment is that the if D16 is blank I am getting #VALUE! THis makes the sheet very hard to read.
View Replies!
View Related
LEN And MID Formulas With Numbers
I am trying to be able enter an a dollar amount into one cell and have the numbers separate into their own cells further down the page. It works basically but if I have room below to hold 10000000.00 and I only enter 100.00, the output looks something like #######100.00. I have an IF formula using LEN and MID formulas in each of the cells. So if nothing is entered, a VALUE error appears in each cell. Is there a way around this? I will paste the formula and the Excel screenshot using the lovely HTML maker below: ...
View Replies!
View Related
Stop #N/A! In Formulas
I have made a sheet that contains a formula that links to another page and until I have a number in that cell the cell with the formula says NA is there a way I can clear that so it wil be a blank cell until I put a number in.
View Replies!
View Related
Loops With Formulas
I have recorded a macro that cleans up my data that I receive from an external source and inserts two columns. I recorded a seperate macro to execute an "if formula" that evaluates Column A and B and if A is blank return the value in B, else return the value in A. I wrote the formula =if(a1=" ",b1,a1). I referred to the text I got in the class and found that I can use a "Next Loop". I added to the formating macro the Next Loop critera and instead of inserting text I inserted the above formula. It ran and returned data, however it was not in the column I intended, it cascaded off to the side of my data in a step down (kinda like stairs).
View Replies!
View Related
