Formula Needs Updating To Sum All Rows With Certain Word

May 28, 2013

I have the following formula that picks up the cost of the item with a certain number and the description includes the word post, however I now have a scenario whereby under a certain number there are several items that include the word post and the formula is only picking up the first one and not the sum of them all.

Formula:

{=IF(ISERROR(INDEX(Sheet1!$E$3:$E$706,MATCH("*"&$C$1&"*"&A3,Sheet1!$C$3:$C$711&Sheet1!$F$3:$F$707,0))),0,(INDEX(Sheet1!$E$3:$E$706,MATCH("*"&$C$1&"*"&A3,Sheet1!$C$3:$C$711&Sheet1!$F$3:$F$707,0))))}

Data:

Description
ID
NAME
Qty
Unit $ exc
Number

[Code] .....

Result:

Job Nos
Product Description
Post

24741
IN Wave
124.3

Is there anyway to pick up all the information?

View 5 Replies


ADVERTISEMENT

Updating By Adding New Rows

Mar 1, 2008

i have rows of data in an accounting worksheet (payments in/out) which needs constant updating by adding new rows. within the row a formula exists in column D such as =SUM(E11:J11) and the next row is =SUM(E12:J12). if i select row 12, right click and select insert, a new blank row 12 appears but without formula in column D. is it possible to insert row with retained formula? i would prefer to add a row from a blank row below current row and have new row appear with above rows formula but this is not vital.

View 12 Replies View Related

Updating Subsequent Rows On A Different Sheet

Mar 27, 2013

I'm trying to find a way of filling in a "form" on sheet1 and for that information to populate into the next empty row on sheet2. This would then give me a table of information in sheet2 generated from multiple entries into sheet1.

View 5 Replies View Related

Remove Duplicates After Updating Rows?

Feb 7, 2014

I have a spread sheet which has a range as shown below.

Batch NumberItem 1Item 2Item 3
P155635
P254
P378
P2568
P454
P389
P385

I need to get the output as shown below which is for Batch number P2 I need to include Item 1 (568) in one row and delete the other P2 row. similarly I need to do for P3. The end result will be as shown below.

Batch NumberItem 1Item 2Item 3
P155635
P256854
P3898578
P454

View 8 Replies View Related

Deleting Rows Macro :: Rows That Don't Contain Word ...

Jan 9, 2008

I got a code to delete all rows in the sheet which contain the word "DETAILS" but I now want to delete all the rows that do not contain the word "DETAILS"

My code if needed is:


Sub Find_details()
Dim rng As Range
Dim what As String
what = "DETAILS"
Do
Set rng = ActiveSheet.UsedRange.Find(what)
If rng Is Nothing Then
Exit Do
Else
Rows(rng.Row).Delete
End If
Loop
End Sub

View 9 Replies View Related

Formula Not Updating/Calculating

Sep 1, 2006

How do I return the data from a single cell in a named range. If I type

=INDIRECT("B12")

into cell "B10". It will return data once, but as cell "B12" changes the value in "B10" does not update. The "B12" cell is part of a named range called "Datainfo".

View 6 Replies View Related

Formula Links Not Updating

Oct 26, 2006

I have a workbook (we'll call it Mainbook)that has links to files on a shared drive (call these subbooks). For some reason, unless the "subbook" files are open, my links in "Mainbook" will not update.

View 9 Replies View Related

Automatic Updating Of Numbers In Formula?

Jul 29, 2014

I thought I could update formulas dynamically by dragging into new cells but it's not working.

Problem: I have a time series of input from a device that samples at 40Hz. The output I get from this device in Excel consists of 40 columns in row 1 (representing the first second) and then it creates a new row - row 2 - which also consists of 40 columns of values (representing second 2) - and it does this until the end of the response period which for me is 10 seconds. When I do a quick filter I end up with 10 rows, each consisting of 40 columns of data and all of this represents 1 trial. This then repeats for 32 trials.

I want to have all of my data for each trial in the same row. So I want the first 10 rows essentially collapsed into 1 row so instead of a 10x40 matrix representing one trial I have a 1x400 matrix representing that trial.

It starts out well enough - I make a row for my first trial and, if trial 1 second 1 = H2:AV2 and I'm typing in cell AY2, I just write =H2 in cell AY2 and drag across for 40 cells until I get to CK2 which will have =AV2 in it because of the automatic updating from dragging. Then I move one cell over - to CL2 - and type in =H3 and start the whole process again until I have all my 400 values in one row. I know this is a tedious way to do this but I figured once I did this it would be a simple matter of formulas and dragging to fill in the rest.

Not so. Is there a way to dynamically update references? So for example, cell AY2 has the formula =H2 in it. Now I KNOW that in AY3 I want to have the formula =H12 (because the beginning of the next trial is 10 rows down from H2) and I know I want AY4 to have =H22 etc. but when I drag the reference to H2 down it just changes it to H3, which makes sense but having a formula like =AY2+10 returns the value in AY2+10 instead of the reference, which again makes sense but I'm totally blanking on how else to do this. I've tried using offset and indirect and offset, for example, will work if I hard code in the numbers (e.g. =offset(H2, 10, 0)) but if I drag this formula down neither the 10 nor the 0 changes so I get the same formula in every which is obviously not what I want (and I guess if it did change, it would just change the 10 to 11 anyway, which again, is not the increment I'm looking for). I've also played around with adding constants of 10 and got nowhere, probably because I'm doing it wrong because I'm fairly sure I'll have to add a constant of 10 somewhere.

View 5 Replies View Related

Dynamically Updating Function / Formula?

Aug 8, 2014

What I need to do is basically use one sheet from my workbook as a 'template' for all the other sheets, but in a way that when I make a change to a formula on my 'Template' sheet all the other sheets based off of it follow suit. I need to do this because for 100000's of rows, spread across different sheets, I have product information populating Columns A-G, and their unique cost in Column H. I need to apply markups to each product (row), but all of these markups are standard across every product and thus every sheet. So in the perfect world I would be able to edit the formula on Sheet #1, and then have that change be reflected in every other sheet.

So let's say I have something like this on Sheet #1...

[URL] .....

Where Column C is a product of A & B...ie. "=A2*B2"

What I need to happen is on Sheet #2 is for it to somehow pull the same formula that is on Sheet #1 in Column C, but apply that formula to 'A2' & 'B2' on sheet #2. And I also want it to update whenever I change the formula in Sheet #1.

If it requires that I set up a template on a completely different workbook, that is perfectly fine as Sheet #1, my 'Template' Sheet, does not hold in actual product information.

View 14 Replies View Related

IF Formula To Insert Non-updating Date

Jul 30, 2013

I am trying to create an IF formula to check a cell (A2) and if that cell is populated to return a non updating date in a different cell (K2).

View 4 Replies View Related

Opening Word & Count Word Instances In A Word Document

May 26, 2006

I have an excel program that is supposed to count word instances in a word document. I can't seem to find the right declaration for a word document.
For example to declare a workbook in excel its

Dim wb As Work Book

I've tried

Dim doc As Word.Document
'or
Dim doc As Word.Application

as shown in some of the forum posts, but an error user-type not defined keeps displaying.

View 2 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

Auto Updating Formula To Previous Sheet

Aug 13, 2009

if it is possible te refer to a cell in another worksheet.

I have 10 worksheets in sheet one I put in cel A4 a digit en sheet 2 I put the formula that refers to sheet 1 cel A4.

Now I want a formula that refers to sheet -1 so in sheet 3 the formula automatically refers to sheet 2 cel A4 and in sheet 4 the formula automatically refers to sheet 3 cel A4 without corrections to the formula.

View 9 Replies View Related

Formula References Not Updating On Row Insert/Delete

Jul 26, 2007

I have a worksheet with many different formulas in many different cells. When I insert or delete a row, there is one formula in one cell that does update to reflect the change in rows. The cell is located several rows below the section where rows are changing. It is a simple formula too. Here is the formula: "= SUM($E$3:E11)*0.09". If I delete more rows that cause the highest row number to be less than 11, this formula updates. If I insert more rows and go beyond row 11, the formula does not update. I have tried using $E$11, $E11, and E$11 to no avail.

View 9 Replies View Related

Prevent Formula Cell Referencing Updating

Jun 9, 2008

I have a series of worksheets, named, 'sheet1' 'sheet2' etc. through to 'sheet10'. A final worksheet, 'sheet11' has been produced that uses the formula: address=Sheet1!A1, address=Sheet2!A1, address =Sheet3!A1 etc. The same goes for other identical cells on each of the sheets. I am at the moment entering each cell on 'sheet 11' separately because if I copy the formula down it progressively changes the cell value and not the sheet number. How can I produce a formula whereby the cells remain identical but the sheets change progressively?

View 4 Replies View Related

Drag Down Formula But Cell Reference Number Not Updating?

Jan 27, 2014

I am trying to drag down a formula (see below). the cell reference A6 and E6 is not updating to A7 and E7 etc etc when i drag the formula down using the corner thing. it remains constant at A6 and E6.

=HYPERLINK("#INDEX('Shipping Tracker Week X'!$F$4:$F$3000,MATCH(1,('Shipping Tracker Week X'!$B$4:$B$3000=A6)*('Shipping Tracker Week X'!$D$4:$D$3000=E6),0))","Link 1")

im pretty sure the problem comes down to the hashtag and quotation marks that i added, as the formula properly increased the cell references when i drag down without the hashtag and quotations. however, i sort of need it because adding those seems to be the only way i can get the hyperlink to link me over to the other sheet and to the correct cell containing the hyperlink.

part 2 of problem: the hashtag and quotations is currently a workaround method for me. the original intention was for the hyperlink to directly link me to a website, which is referenced from a separate sheet. however, without the hashtag and quotations, i get a "Cannot open specified file" error.

View 14 Replies View Related

Prevent Formula From Updating When Deleting Cells / Sheets

Nov 5, 2008

I've got a workbook that I'm currently designing and I've just realised that I need to delete a few sheets, paste in some new template sheets and rename them. The problem is, I've already completed my summary sheets and I don't want to have to redo the values. Essentially, I just want to (temporarily) turn off auto-updating of formulas when cells / sheets are changed/moved/deleted.

For practical purposes: I need to delete the sheet named "Jan", paste in a new sheet "MonthTemp", rename "MonthTemp" to "Jan" and have all my formulas not updated (e.g. still referencing "Jan" instead of "#REF!")

View 13 Replies View Related

Updating Data Formula For Cumulative Log Plot Graph

Oct 24, 2008

I have attached 2 files. One of them is called Macca.xls. This is the file that was created for me by shg on an excelforum. The other isOreDep_updated.xls - this file is the updated list that I want to convert into the Macca file or make it look like the Macca file.

I awas trying to make a couple of plots, but they were not llooking like some examples I have.

In the OreDep-updated file attachment is my data I needed to use. I needed to make 2 plots:

Plot 1: Resource Grade (log scale) against the proportion of deposits (linear scale)

Plot 2:Tonnage (log scale) against proportion of deposits (linear scale)

This was done with my old data that is shown in the Macca.xls attachment.

They are meant to cumulative proportion plots. As a line or scattergram. An example of what they are meant to look like is at: http://www.nbmg.unr.edu/dox/ofr962/c11.pdf on Page 4 and 5.

shg managed to make them look like I wanted with the log normal smooth line too.

My problem now is that I want to change the data under Name, Resource Tonnes and Resource Grade (basically replace the old data in Macca.xls with the new OreDep_update.xls, to come up with same type of plots). But whenever I try to copy and paste the data into the Macca file it messes up everything. I looked at the formula that was created and I really havent a clue how to change it, without affecting everything else like the plots.

I also need to add 2 new columns for date and for reference, and it wont let me do that.

View 9 Replies View Related

Formula Not Updating: Using Tools, Options, Calculation, Automatic

Oct 27, 2006

I have a table with rows that keep growing. But I have place formula in the whole of column F, i.e. F2:F66565. When I import information from MS Access into column A to E, the formula in F does not work, until I copy from F2 to the end manually. I have tried using Tools, Options, Calculation, Automatic. That doesn't work, I have also tried F9, that doesn't work and I have also tried checking Precision as Displayed under the calculation tax in Tools-Options, that doesn't work either.

View 3 Replies View Related

Count For Word Across Rows?

Jan 6, 2013

I would like to get a simple function to count how many times the word fox is mentioned across rows , my answers are in col K .

If possible I would like to look for more than one word , sometimes two or three .

looking at row 1 , what would function be if counting fox , red , a

Sheet1  ABCDEFGHIJK1Theredfoxwasjumpingoverafox,ok 221fox,twofox.3fox.  337cows 
0419thanimalwasareddogwithafoxfriend1

View 6 Replies View Related

Show Only Rows That Don't Contain Certain Word

Aug 22, 2008

Looking for a VB solution to parse each cell in column B if a specific word exists then hide the entire row. in this case the word or phrase will be (inactive) each row will be different words but can contain (

like this...
___A___B____________________________________________C
1 44 this row does not contain the word but has other 3
2 23 this row does not contain the word but has other 5
3 21 this row does contain the word (inactive).................Hide the Row
4 26 this row does contain the word (inactive).................Hide the Row
5 43 this row does not contain the word but has other 6
6 20 this row does not contain the word but has other 9

and so on....

View 3 Replies View Related

Copying Rows That Contain Specific Word

Jan 16, 2007

I am trying to copy rows that contain a specific word from one worksheet to another.

View 9 Replies View Related

Delete Rows With Cells That Contain Some Word?

Mar 4, 2014

How can I delete all rows that have a cell that starts with the letters APP

View 3 Replies View Related

Find A Word And Delete All Rows Above It

Dec 18, 2013

I get a report each week that has a bunch of unwanted header info. It used to be static and the macro just deleted the first 49 rows. I recently found out that the header format changed and it's been deleting crucial data.

I need something that will find the words "Medical Center" and delete all the rows above it, however many that may be...

View 4 Replies View Related

To Filter Then Protect Rows With Certain Word

Mar 6, 2007

I need to protect and unprotect rows of data on my "Near Miss Data" sheet, periodically.

When data is added via a Userform, one of the columns (column N) will have either a YES or NO in it. Those rows which have a NO in column N, needs to be unlocked. Those which have a YES, need to be locked. BTW ~ The yes' and nos refer to whether it's completed or not
I am planning to CALL the code below to protect/unprotect as needed, but i am struggling with the code to use so i can unlock those rows with NO in column N

Sub Unprotect()
' Simply UNPROTECTS the sheet
Sheets("Near Miss Data").Select
ActiveSheet.Unprotect Password:="lock"
MsgBox "unprotected"
End Sub

Sub Protect()
' Simply PROTECTS the sheet
Sheets("Near Miss Data").Select
ActiveSheet.Protect Password:="lock", DrawingObjects:=True, Contents:=True, Scenarios:=True
MsgBox "protected"
End Sub

View 9 Replies View Related

Automatically Delete Rows That Contain A Certain Word

May 15, 2007

I can trying to let the user type a word in to cell A1 and then have Excel remove the rows that contain the word. But VBA below just seem to delete all nonblank rows?

sub delete2()
Range("a2:a200").Select
For Each cell In Selection
If cell.Value = A1 Then
cell.ClearContents
End If
Next cell
Range("a2:a200").Select
Selection.SpecialCells(xlCellTypeBlanks).EntireRow.Delete
end sub

how I can update this code?

View 9 Replies View Related

Copying Rows That Contain A Specific Word

Jan 16, 2007

I am trying to copy rows that contain a specific word from one worksheet to another.

View 9 Replies View Related

Macro To Look For A Specific Word And Delete Rows

Jan 27, 2009

I need to build a macro which will look for a specific word say :"ABC" in a particular column say "B" and delete 5 rows including the row containing the word "ABC"

View 6 Replies View Related

Find Particular Word And Delete Rows Macro

Aug 31, 2012

I am trying to get macro which will find word "Service" in sheet 1 and after that delete that row and below row.

View 1 Replies View Related

Delete Rows :: Where Specific Word Appears

Jul 22, 2008

I have a spreadsheet that I need VBA Code to do the following

1) Delete all rows where the word totals appears in Column B for eg "Totals for Vehicles Stocked in 0706" "Totals for Vehicles Stocked in 0707" etc

2) Delete all rows where the value in col m is less than 45

I have written the code, but cannot get it to work-see my code below

Sub Del_TOTALS_Underaged()
FinalRow = Cells(65536, 2).End(xlUp).Row
For i = FinalRow To 1 Step -1
If Cells(i, 2).Value >= "Totals" Then
Cells(i, 1).EntireRow.Delete
If Cells(i, 13).Value < "45" Then
Cells(i, 1).EntireRow.Delete
End If
End If
Next i

End Sub

View 9 Replies View Related







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