Auto Calculations But Missing Some Cells Out
Mar 14, 2012
I have a spreadsheet which has number of formatted rows, the user can insert the formatted rows if they need more as its hard to determine if they will need one set or 50 sets.
The formatted cells are 4 rows deep and span from columns A to AR
The thing is that I want the totals at the bottom to automatically pick up the sums from say Column H but only on the 2nd row of each set of formatted cells eg. H13, H17, H21, H25 etc.
And another sum to pick up the 3rd row, e.g H14, H18, H22, H26 etc
Obviously this can be done manually by selecting control and AutoSum but I wondered if there was a pice of VBA code or a formula that i could run due to some worksheets being longer than others?
View 4 Replies
ADVERTISEMENT
Oct 26, 2011
I need C3 to auto calculate depending on the value of A3 and B3.
Example:
If A3=Minor and B3=Possible Then C3=Low L4.
So there are 25 unique possibilities depending on what A and B =
Is there a way to get around this or will i have to resort to a Macro??
This data is based on the Matrix Below.
ConsequenceMinorModerateSevereMajorCatastrophicLikelihoodAlmost CertainHigh
(H10)High (H13)Extreme (E17)Extreme (E23)Extreme (E25)Quite PossibleModerate (M6)High
(H11)High (H14)Extreme (E19)Extreme (E24)PossibleLow (L4)Moderate (M7)High
(H12)Extreme (E18)Extreme (E22)UnlikelyLow (L2)Low (L5)Moderate (M9)High
(H16)Extreme (E21)Very UnlikelyLow (L1)Low (L3)Moderate (M8)High (H15)Extreme (E20)
View 6 Replies
View Related
Jul 24, 2014
I run an excel spreadsheet to calculate quotations.
Included in this is a cost for the 3 year annual service which is based on 10% of the purchase price, or a minimum of £1000.00
While it is simple enough for this to auto-calculate the 10% I use - =SUM(G3*0.1)
I was wondering if it was possible to set a lower limit so if 10% is below £1000.00 it automatically defaults to £1000.00
View 4 Replies
View Related
Jul 31, 2008
My macro is missing following excel shutdown and autorecovery, it still runs but when I open the relevant module the module is empty, and I can't view the code
View 4 Replies
View Related
Jul 17, 2008
I'm trying to setup a macro to run on a database extract that is sent to me. Some of the data is not filled in for each row and I want to automate the auto fill down for each entry based on the Reference # above. I searched the forum for terms that I thought might be related,
Here is the starting data: ...
View 10 Replies
View Related
May 12, 2009
I am dealing with several very large spreadsheets using VBA to do various things. I found that my code worked well, but was taking a long time to run. The biggest time consumer was my use of the AutoFilter features. I have since turned calculations to manual before my code runs and set it back to auto when my code is done running. What are the potential consequences of my turning calculations to manual and then back to auto?
View 2 Replies
View Related
Nov 20, 2007
Conditional Calculations & Display Of Cells. (See attachment)
View 2 Replies
View Related
Jul 8, 2008
I have two columns which i want to compare, they contain text data such as A123.
what I'd like is if its in column A and not in Column B then add to bottom of column A.
Once its in column A i can do the vlookup's to draw the other data, costs etc, over but don't know how to identify, and add, the missing codes to the list.
View 9 Replies
View Related
May 27, 2014
I have the following code:
[Code] ....
When I run the macro, some columns are already hidden. The macro doesn't seem to autosize cells correctly. For instance, one cell in a row appears to have some contents hidden (or below the reading area of the cell). In other instances, the rows are auto-size to huge heights and widths.
View 7 Replies
View Related
Mar 19, 2014
I realised that the screenshot attachment makes much more sense than trying to show within post.
EXPENSE MONTHLY ANNUALLY MONTHLY COST ANNUAL COST
BILL £4.00 £4.00 £48.00
BILL £120.00 £10.00 £120.00
BILL £260.00 £21.67 £260.00
BILL £12.00 £12.00 £144.00
BILL £19.00 £19.00 £228.00
BILL £14.63 £14.63 £175.56
BILL £550.00 £45.83 £550.00
BILL £94.00 £94.00 £1,128.00
For my bills I want to work out first the monthly cost e.g. monthly(B) figure OR annual (C) /12 - and give the result in column (D)
And then work out the annual cost e.g. monthly (B) *12 OR annual figure - and give the result in column (E)
So if there is no figure in the monthly column (B), the calculation will be dividing the annual column figure by 12 and vice versa, if there is no figure in the annual column (C) then the calculation will be multiplying the figure by 12
This is probably a very simple calculation to do, but I am struggling to make sense of calculating results from different columns to give a result in the same cell.
SCREENSHOT.docx
View 1 Replies
View Related
Dec 4, 2006
I have a single column of data that is, perhaps, 100 rows long.
I have ticks, crosses and 'N/A' in various cells within this column. There are no cells that are blank.
I want to count the number of ticks within the column and want to be able to say:
If the number of ticks is = 100% then it's green.
If the number is >75% and <100% then it's amber.
If the number <75% then it's red.
I also want to exclude the N/A cells from the % calculation.
View 9 Replies
View Related
Apr 19, 2014
The following macro searches for missing combinations. This macro will search the complete list and will return any missing combination from "1, 2, 3, 4" to "7, 8, 9, 10".
I need to make some changes in this macro, so that it will search for missing combinations only within a specified range of cells (and not the whole list). For example (see excel file attached), I would like to place a search within range("G23:J183"), from combination "1, 2, 6, 9" to combination "4, 6, 8, 10". In this case, it should return only 9 missing combinations.
Attached File: Example Find Missing Combinations.xlsm
View 2 Replies
View Related
Mar 6, 2007
I've written a very simple script to replace carriage return characters with <br> tags (so I can use the output in html pages) - however for some reason when I loop the script down the cells, it ignores certain cells and works perfectly on the rest.
The only 'variable' I can spot is that the ones it misses tend to be longer cells with more text (the one's that failed were 938 characters and 910 I think).
Can anyone tell me if there is a limit on how big a cell VBA can process and if so, how I can work around this? Is it possible to load and parse each character one by one in VBA or something?
Private Sub CommandButton1_Click()
For Each cl In Worksheets("CREDIT (GENERAL)").Cells.SpecialCells(xlCellTypeConstants, 23)
cl.Replace What:=Chr(10), Replacement:="<br>", SearchOrder:=xlByColumns
Next cl
End Sub
View 9 Replies
View Related
Sep 13, 2009
We use a program at work to check items out to individual people but sometimes an item is missed and it takes forever to manually look for who it is. In the attached example, (keep in mind there might be more than 100 people on this list...this is just two people), the first 2 items are a pair (radio and radio case) and the second 2 items are a pair (laptop and laptop case).
Id like a way (condition formatting) to flag a person who has one item from the pair checked out and not the other. (Ive manually highlighted one person who only has one of the paired items...id like this to happen automatically)
EDIT:: If the first person were missing the radio in this example, his name would be highlighted on the line with the matching pair...cell D1 (radio case)
Other information:
Radios will always be RFAMRC***
Radio cases will always be RFAMF****
Laptops will always be RFAMTD***
Laptop cases will always be RFAMTE***
View 3 Replies
View Related
Oct 31, 2011
I have macro that brings information from outlook to excel. In the beginning of macro, it deletes range of cells. That destroys the functions that target those cells. Is there a way avoid that? Using some different method or ?
Code:
Dim olApp As Outlook.Application
Dim olNS As Outlook.Namespace
Dim myCalItems As Outlook.Items
Dim ItemstoCheck As Outlook.Items
[Code] ........
Running the macro messes up all funtions that targets those cells.
Like:
Code:
=DATEVALUE(MID(data!#REF!;4;2)&"."&LEFT(data!#REF!;2)&"."&RIGHT(data!#REF!;2))
This really great code to get data from outlook is originally: [URL] ........
View 2 Replies
View Related
Sep 1, 2009
I am looking for a formula that I can use in the lower table to fill in the missing County cells, based on the values in the Town/Zip columns on the top table (I apoligize for the crudeness):
CountyTownZipAbleTownA00000AbleTownB00001AbleTownC00002BravoTownD00003BravoTownE00004CountyTownZipMemberTownD00003BlackTownC00002FrankTownA00000GreeneTownB00001JonesTownA00000SmithTownC00006ThomasTownE00004White
This would consist of hundreds of Zips and Towns and this is just an abbreviated mock up.
View 9 Replies
View Related
May 8, 2007
I have the total sales for a company. Then I have four specific segments that fall under those sales. Two out of the four segments I have exact sales figures for. The other two segments I just have the year-end sales and the dollar increase in each quarter. Is there a way to solve in excel for the missing quarters. So each of the four segments would have to add up to the total sales for both the quarter and the year. I've attached my example spreadsheet too. There are two cells missing highlighted in blue but i'm going to try to obtain that data. provided i fill in those two blanks, is there way to back into the rest of this spreadsheet?
View 3 Replies
View Related
Sep 18, 2008
new data goes into the report, the pivot table looks at a dynamic range and confirmed that the range doesn't select any empty cells.
Just wrote a macro to fill missing cells with a data on workbook open.
all the data is date form, yet still when i refresh the pivot table i look my montly grouping, when i try to group again it says "unable to group"
View 9 Replies
View Related
Nov 26, 2012
What is the formula for results in C?
A | B | C
NAME|RNK|SORT
Frank|2|David
Jane |3|Frank
Lisa |5|Jane
David|1|John
John |4|Lisa
Abby |6|Abby
View 3 Replies
View Related
Mar 17, 2014
I am trying to write VBA code that groups cells between blank rows and inserts a message if a string of text (a name) is missing from the entire group. I want the code to search cells in column A and group the cells between blank cells. Use the name I input in an input box as the search criteria and insert a message in the Column C next to the last blank cell in the group and then move on to the next group and highlight the cell in red with bold text. I am including a spreadsheet with an example of what the sheet should look like before and after the code is run.
View 11 Replies
View Related
Sep 26, 2007
My sheet goes from monday to friday on the coulombs. On the rows i have various data sections for each day. I would like the data on the last day (any day after monday) that there is data for a sheet to input that data into the monday slot when the "master date" is changed on the cheese sheet. The idea here being that the script will take the last entered data for a given sheet, and put it into the monday coulomb on the same sheet when the date is changed. This is kind of hard to explain so if you need clarification let me know. Attached is the sheet i'm working with.
View 14 Replies
View Related
Oct 24, 2007
Is there some feature that lets you auto number cells? IE (1-20) Instead of me having to manually type in 1-20 in each cell or making my own formula up to do it.
View 3 Replies
View Related
Jan 16, 2009
Working with 2 worksheets in the same spreadsheet. In worksheet A cell F6 is a solution (hex2dec) these solutions are staggered consistently in column F (F6, F9, F12, F15 etc) In worksheet B cell A2 displays workshop A cell F6 details (=ATR!F6)
Worksheet B cell A3 Autofil uses (=ATR!F7) I want (=ATR!F9) Worksheet B cell A4 I want (=ATR!F12) How do I condition autofil to follow my chosen sequence ie F6,F9,F12,F15 etc...
View 3 Replies
View Related
Mar 31, 2009
I have been tasked with coming up with a solution to an excel issue my boss has. I'll try to explain it as simply as I can but it might get confusing.
We have workbooks containing ledgers for a retail establisment. We create a new book for each year. Each book contains a sheet per month. We also have a comparison book/sheet. Currently we have the rolling total for each line item transfer over to the comparison sheet and then manually workout and enter the data for the same day from the previous year. What we would like to do is have the data from 2008 automatically update as we update the 2009 data.
View 14 Replies
View Related
Jan 19, 2010
I Have a sheet with many ranges, when i push the commandbutton I need it to insert the selected cell in textbox 1 witch works but it needs to insert the full range into textbox 2, 3, 4, 5, 6. I have attached an example.
View 5 Replies
View Related
Jan 2, 2010
I have a workbook with three sheets:
'Activity' 'Expenses' and 'Income'
On the 'Activity' sheet I:
select the date,
select the description, and
select the category (dependent on the description using indirect)
and enter a value. ($ dollar amount)
How do I make the entered values appear automatically :
- on the correct Sheet for the Description - 'EXPENSES' or 'INCOME'
- in the correct columns (matching) the category
- and in the correct row (matching) the date,
- "add to" - if a value already exists in the cell (more than one transaction on a date)
after they have been hand entered on the 'Activity' sheet?
View 7 Replies
View Related
Nov 9, 2011
Every time i open my workbook it recalculates and takes ages
is there anything i can press to halt the recalculations so i can go in and change the formulas that are making it take so long.
View 3 Replies
View Related
Mar 15, 2012
What I'm trying to do is this:
In sheet "Available", I have a list of all shirts available in store. I often make a printable shopping list in sheet "Shopping list". Once the shopping is done, I would like to automatically add the shirts bought to "Available" sheet.
View 3 Replies
View Related
Dec 10, 2009
I have a database in the form of a spreadsheet with the following column headings:
A=DATE (3 letter abbreviation for the month...jan, feb, mar, etc)
B=Client
C=City
D=State
E=Department
F=Contract number
Is there a formula that I can enter in another worksheet (which is being used as a report), that will "grab" the monthly data for all entries for a given month (i.e. "mar"), and auto-populate corresponding cells with each?
View 9 Replies
View Related
Mar 1, 2010
If I click on cell A1 is there a way to make Cells A12 and A13 highlight in yellow?
View 9 Replies
View Related