Conditional View Of Range Data
Mar 14, 2008
Have had a colleague write code for me but it appears very complicated and not 'pretty' for what I would like to do -
I would like to search through column 'a', where a cell contains a specific criteria - copy the row (would prefer only 6 columns) and paste in a differing sheet.
The attached sample will hopefully show what I mean
View 7 Replies
ADVERTISEMENT
May 9, 2007
I have a list of bookings that have been made for class rooms, with columns such as persons name, start date, end date, class room. My task is to present this data in an alternative view, that is:
Dates along the top and classroom names down the left hand side, in the intersecting cells i need the persons name.
View 9 Replies
View Related
Oct 9, 2007
I've got a "Title Sheet" in which our dispatcher can come in and enter date,workorder number , Location and an item description. I am needing help automating the process for them. I need the information entered into the Title Sheet to auto insert into an existing spreadsheet depending on what location is used.
View 9 Replies
View Related
Feb 21, 2014
How do you view or display data from cells that have been merged?
View 8 Replies
View Related
Aug 9, 2009
Is it possible to configure the workbook so the user can view the data in the worksheet from the form and I can hide the actual worksheet so that the data in the workshhet cannot be changed? Or maybe there is a better way all together??
I am attaching a copy of the worksheet.
Second, Is there a better way to input a code that would allow a search for duplicates in certain fields to be flagged (other than the color coding?)
View 6 Replies
View Related
Feb 6, 2008
I have two workbooks that are used in conjunction with each other.
One is a template that creates a quote, the other is a workbook that has data which is used to populate the newly created quote. The data workbook is opened and closed by the opening and closing of the template. But beside the need for the user to see the data when they are selecting which items to add to the quote, there is no other reason for them to see it on the "View", "Switch Windows" for you 07 users, can't recall 03, or on the "Windows Status bar" at the bottom/side or where ever it's placed.
Is there anyway to hide this from the user, and or prevent the user from saving any changes on the data workbook.
Came across this code on MSDN but not sure how to incorporate it or if it's even applicable. [url]
Visual Basic (Declaration)
< BrowsableAttribute(False)> _
Public Property IsAddin As Boolean
Visual Basic (Usage)
Dim instance As Workbook
Dim value As Boolean
value = instance.IsAddin
instance.IsAddin = value
View 9 Replies
View Related
Aug 13, 2006
is it possible to select the data to view by running a macro. my table is based on dates. i would like to see all data before the date i run the table and 6 weeks in front only.
View 3 Replies
View Related
Jul 31, 2014
I have two years of sales data for same and different product codes in different sheets for each year.
I want to merge both the sheets so that i have a consolidated view of both years data in one sheet.
The sheets have columns that look like the one described as under:
Product code Month 1 m2 m3 m4 m5 m6 m7 m9 m10 m11 m12
View 2 Replies
View Related
Oct 9, 2009
I have spreadsheet that I use to display quarterly metrics. Within the workbook, there are two spreadsheets; (1) output (2) data.
Part 1: I want the ability to view data for any quarter of any year. In columns O-P, I have created a dropdown for the year I want to view and option buttons for the quarter I want to view.
The data is organized in one sheet and includes all information by quarter.
As an example, say I want to display data for District 112 and I want to display data for the 3rd Quarter of 2007. I am trying to create a formula that would look in the table as follows: (1) look for district 112 then (2) look for 2007 then (3) look for 3rd quarter then (4) look for units sold. I tried using a modified lookup function but didn’t have any luck.
Part 2: The second part of my question is similar to the first part but in this case I need to summarize data (cells $B$18:$D:$22).
As an example, say I want to display the total number of sales in the U.S. for the 3rd quarter of 2007. In this example, I would look in the table for the following: (1) look for Division then (2) look for 2007 then (3) look for 3rd quarter then (4) sum all based on criteria.
View 4 Replies
View Related
Dec 12, 2013
Excel 2007 - need to adjust protected view settings but the protected view tab is missing from my Trust Centre settings - have the following tabs - trusted publisher / location, add-ins, activeX, macro, message bar, external content and privacy options. Document is a revenue authority download and without being able to adjust the protected view settings, can't input data.
View 3 Replies
View Related
Jan 6, 2012
I'm used to work with the Excel 2003 edition, however I just changed the version to 2010. As result of that I do have the following question:
How can you view the source data of a pivot table in Excel 2010?
View 6 Replies
View Related
Jul 17, 2014
How to write a forumula that can view a range in column A but select the answers of that range in column B and add them together?
For example my spreadsheet shows:
Column A Column B
1.1 5
1.5 2
1.7 9
1.8 6
2.1 2
2.5 5
So in the example above what I need the forumla to do is look at range of 1.10 to 1.19 in Column A and add the answers of that range in Column B, which would equal 22 (5+2+9+6).
View 4 Replies
View Related
Oct 11, 2006
I was looking to use the VBA conditional formatting script posted on OzGrid and was curious if it would be easy to make some slight modifications.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim icolor As Integer
If Not Intersect(Target, Range("A1:A10")) Is Nothing Then
Select Case Target
Case 1 To 5
icolor = 6
Case 6 To 10
icolor = 12
Case 11 To 15
icolor = 7
Case 16 To 20 ..........................
I can see that Case is the number range referenced to change the background...However, would it be possible to have it read a cells value as the criteria for the color change? Currently, I would like it to reference values in range I2:M2 and anything matching those cells in range A4:E28 change background to icolor = 30. I'm just not sure what to replace Case with to make it refence cells I2:M2
View 6 Replies
View Related
Apr 30, 2009
I have a list of names that belong to a particular group. What I want is to conditional format a sheet so that if a name is entered that does not belong to the group it is highlighted red. Don't really know how to do this though?
View 4 Replies
View Related
Apr 13, 2009
I have a spreadsheet that has a table listing employee names in the far left hand column (A1, B1, C1, etc.). The table has a simple border - black line throughout.
I need the entire row for the employee to change to no border if the employee's name is deleted.
View 2 Replies
View Related
Jan 8, 2010
Using the following conditional formatting formulas:
=(isblank(p99)) then the formatting of (applies to) C99:O99 will be in red and bold
=(d99="Prod.") then the formatting of C99:P99 will be blue and bold
but the results are not as expected. Is something wrong with these formulas?
View 4 Replies
View Related
Apr 1, 2009
Using this basic version of my data:
NameGradeWeekJim31Sally31Fred32Claire53Susan43Chris52Ted41Jenn53Nicole43
I am trying to figure out How many 3rd grade, 4th grade, 5th graders there will be for each week. I will need a formula to fill in for each blank cell below.
# of 3rd# of 4th# of 5thWeek 1Week 2Week 3
I think I need a formula that would "read" something like:
if "Week" is equal to "1, 2, or 3" then within the rows that contain that week, count all "Grade" that are equal to "3, 4, or 5"
I tried sumif, counta, if, and combinations of them, but I am not sure I am using them correctly.
View 9 Replies
View Related
Feb 15, 2010
I am writing this application wants me to calculate running averages and Std Dev. I will copy a row of values into a spreadsheet. The next row will be a new average of each column. So far so good. But the next time I calculate the new average of the column, I do not want to count the row that represents the last average I measured. SO, I'd like to format the rows that are average values (i.e. bold) and then when I calculate the next average, exclude any value whose font is bold. Currently I am using the following line of code to calculate average:
Is there an easy way to limit the values used to calculate average to only those values that are NOT bold?
Sub ColAve ()
Cells(LastRow + 1, ActiveCell.Column).Value = WorksheetFunction.Average(ActiveCell.EntireColumn)
End Sub
View 8 Replies
View Related
Jan 17, 2008
I am trying to find the slope of column F when Column C is between 4.5-5.5. I can do this by doing four seperate lookup formulas and having the slope function referring to the results. When I try to combine the four cells into a single cell Excel gives me an error. =slope((LOOKUP(5.5,XPos,XPsi),LOOKUP(5.5,XPos,Xpos)),(LOOKUP(4.5,XPos,XPsi),LOOKUP(4.5,XPos,XPos)))
Attached is an example of the data, the functioning slope when spread over four cells, and my attempt at combining the formulas(currently with an ' at the beginning to prevent the error)
View 5 Replies
View Related
Aug 1, 2013
I am attempting to make a range of cells' data be deleted if a cell outside of that range that had a name in it is no longer there. So if I have a list of names in cells A1:A6 and a range of data in cells D10:E20 that corresponds to a name in cell A2. If the name in A2 is deleted I would want the data in D10:E20 to be deleted.
View 9 Replies
View Related
Aug 15, 2014
I have a sheet called Quote Summary and a sheet called AssemblyBoms.
In the Bom sheet, I have a named range for QtyPer and a named range for unit price because these ranges are dynamic.
On the quote summary sheet, I want to format the cell (A9 and eventually A9 to A28 and so on), which contains a formula right now that only references a tag and does some equivalence checking
(=IF(AND(QSA>0,QSA=qty1a),assembly1,"")),
to have a yellow background if QtyPer>0 but unit price = "" or 0. I know the formulas for this, but it is not formatting anything. Attached workbook below.
QUOTETEMPLATEMACROTEST.xlsm
Conditional Formula for true:
="AND(qtyper1 > 0, unita1 = "")"
I typed it in without the = or "", but the formatting added those in for me.
I typed a number in the qtyper1 range and left the unita1 range blank to test it and no formatting has occurred.
View 10 Replies
View Related
Feb 26, 2014
I have a column of dates in column M, and in A1 I have the formula =TODAY() for today's date. I would like to conditionally format all of column M (up to row 198) so that it turns orange if the date in M is before today and after or equal to 3 working days before the date in M.
I have this
=AND($A$1<M2,$A$1>=(WORKDAY(M2,-3)))
But it doesn't appear to be working because it's highlighting dates after todays date.
View 6 Replies
View Related
Mar 31, 2009
Have a spreadsheet using the following conditional format to color highlight every other row: =MOD(ROW(),2)=1. Is there a way to apply this conditional format to all columns A through AR and all rows 1 through 24000 only?
View 3 Replies
View Related
Jun 15, 2009
If cell A1 matches a range (lets call it B5:K5) then"T2", otherwise return the actual value of B1. I know it shouldn't be that hard, but I'm a bit blocked.
View 2 Replies
View Related
Nov 26, 2009
I'd like my conditional formatting to format the range of cells red if the range K2:S2>H2. That is when the range K2:S2 are added together, and if their sum is greater than H2, format cells K2:S2 red.
View 5 Replies
View Related
Jan 17, 2010
I have a Conditional Formatting query where in essence I am needing to ‘make invisible’ a range of data by changing the font and background fill to white (and at the same time nullifying the effects of a number of other Conditional Formats). On the surface, this seems an easy thing to achieve, but the problem is, the range I need to apply this CF is a moving range and is dependant on a user changeable date.
Description of worksheet:
The sheet is managing shifts worked over 1 year by 21 people. The top 33 rows are a frozen (and collapsing) display area below which is a matrix of 365 days down and 21 people across. The TODAY button uses a macro to scan the dates and display todays entry directly beneath the freeze line of row 33. The date in M28 can be entered manually and after hitting enter, that dates data is now displayed under the freeze line. Also, using the spin button will increment or decrement the date in M28 moving the entire matrix up or down.
My query..........
What I’m hoping to achieve, is to display ONLY the data selected by the date in M28 (ie that shown under the freeze line, and for all remaining rows to be ‘whited out’, but as the user increments/decrements M28, then the “whiteout” range also needs to increment/decrement. I have whited out a second worksheet “example” as if I had selected 18 Jan (this sheet will not move as there are no buttons, but the data is still there under the whiteout).
I hope this is not TOO unclear, but I would be grateful if anyone could suggest a solution or even tell me if this is not possible – or indeed any other way of achieving the same result ( I had thought of hiding the rows below the freeze line, but the freeze/unfreeze operation would probably be too jerky.
View 9 Replies
View Related
Jan 23, 2013
What I am trying to do, is apply conditional formatting to a range of cells (for example, A2:J2) based on whether the data in one of the cells (D2) contains "Yes" or "No". I would like the entire range of cells to be one color if D2 contains "Yes", and another color if D2 contains "No". If needed, this can be split into 2 different conditional formatting rules.
View 5 Replies
View Related
Nov 18, 2013
I am trying to use conditional formatting to basically unhide a named range when a specific text is input into a range of cells from C23:C32. I have taken the named range "Screw_Test" and changed the formatting to make it hidden. White text on white background, that sort of thing. What I would like is to change the background color and text color back to something visible when the following is met. In C23:C32 I have a drop down. When Pedicle screw is picked in any of the afore mentioned cells, it would trigger the conditional formatting that would change the "Screw_Test" range (D22:F32) as a whole, making it visible. I haven't had much luck.
View 4 Replies
View Related
Jun 11, 2009
I have two columns of data (of varying length). The first column "A" has steadily increasing random values from about zero to 200. I would like to be able to automatically select/highlight the region with values between 50 and 100 as well the corresponding values in the adjacent "B" column.
View 4 Replies
View Related
Feb 27, 2012
I recorded a macro in which I applied a conditional format to a range (the selection).But, when i replay this macro, the conditional format is only applied to the first cell in the range. This can be seen in the "Manage Rules" dialog of Conditional formatting, where the "applies to" column shows only one cell, even though a range of cells was selected by the code.
I set a breakpoint at the first line of code here, and confirmed that the selection is correct, and indeed it is, as in the immediate window, ?Selection.Address correctly gives "$O$6:$O$21".
[BRK, Selection.Address="$O$6:$O$21"]
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=O6/(O6+P6)>25%"
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority
With Selection.FormatConditions(1).Interior
.Pattern = xlGray16
[code]....
why the conditional format ends up only applied to cell O6 after the code runs?
"How can i apply a conditional format to a range of multiple cells, based on an expression, using VBA?"
Note that my range is within a PivotTable (but still, this works fine in the UI when i record the macro and the conditional format is correctly applied to the entire selected range).
View 1 Replies
View Related