Hiding Specific Column And Updating Information On Another Sheet

May 30, 2014

Check the attached sample file

a. actual data in columns is approx 150 items (that is why i need to hide/unhide columns)
b. there are about 120 persons whom above items are issued depending on expiry of life of item i.e. issue date plus number of months mentioned in row 3. for example if coat was issued to John on 5th Jan then it's life expires on 5th May and so on.

Now what i want

1. by clicking hide checkbox only that specific column should hide or if i click Hide All check box all column in range should hide.

2. as i enter issue date expiry of that item should automatically update on corresponding month sheet i.e for above example 5th May should automatically get entered in sheet May.

I have entered sample data manually in months sheet.

aJITCBP.xlsm

View 2 Replies


ADVERTISEMENT

Userform Data (allows Input Of Information And Then Deposits The Information On A Specific Sheet)

Feb 11, 2010

I have created a userform that allows input of information and then deposits the information on a specific sheet. I am looking for a way to have that information not only deposited on the specific sheet it is already set to but also to another sheet based on a selection made from a combo box.

here is my current

View 5 Replies View Related

Add Information To Specific Sheet Based On ComboBox Selection?

Jan 29, 2014

I have filled up my ComboBox1 with the sheets I want to add information to. My problem now is how to place the info in the correct sheet when I click CommandButton1.

I've been working on this for a few hours now. I got this to work on the first code I found but it didn't work afterward. I just deleted the whole thing and started again.

View 1 Replies View Related

Find And Remove Specific Information From Column

Jun 3, 2009

I have a column 'AE' that contains the html code for ecommerce item descriptions. While importing/exporting back and forth with another program and my spreadsheet, the following was added all throughout the descriptions.

%0d%0a

In some places, it may be three or four times consecutively

%0d%0a%0d%0a%0d%0a%0d%0a

Is there a macro script I could run to simply remove this any time it occurs in this column? It is just showing up as text and I am sure in another program it was representing something other than text, probably a space or hard return. Regardless, I don't need it.

See example below: ....

View 8 Replies View Related

Macro With Formula To Move Specific Information To New Column?

May 22, 2014

I need a macro to move specific information.

I get an excel sheet with W/C Employer: (whatever) entered below the patient it belongs to in column E. This information needs to move into its own column (H) in line with the above patient information so I can use it in a mail merge to word.

The same thing needs to happen with WC injury date listed in column G. It moves to column I. Then delete the row it was moved from so I don't have an empty row.

Sheet 1 is what I get. Sheet 2 is what I need to end up with.

View 4 Replies View Related

Copy Information Between Worksheets Based On Specific Column Entry

Oct 29, 2008

My workbook contains several worksheets each recording the results of equipment tests - one sheet for each piece of equipment. Rather than open each worksheet to check the date of the last test, other 'overview' worksheets pick up and display the last test date from each equipment record using the formula =MAX('sheetref'!A15:A500). Is there a better formula to do this?

Some items of equipment are tested at more than one frequency, ie Monthly, Yearly, etc. Therefore, the entry on row 15 of an equipment record may be column A 28/10/08 column D 'M' and row 16 column A 29/10/08 column D 'Y'. The above formula will only display the last test date, irrespective of frequency. There is a seperate overview sheet for each test frequency therefore, I need to modify the formula so that the date it copies from the equipment record worksheet to the overview worksheet is the date of the last test for the specified frequency.

View 9 Replies View Related

Update Table On Another Sheet With Information On ACTIVE SHEET Based On Column Search?

May 14, 2014

What I have is a sheet that is copied periodically from some source sheet, and on this sheet is a table. This sheet is called "Onsite Checklist Template" and it's table is titled "Checklist". I also have another sheet called "Loggers and Initial Notes" which has a tabled titled "Record", and then finally a title sheet call "Proj Details".

To clear this intro up - The sheets, in their order, is: "Proj Details", "Loggers and Initial Notes", "Onsite Checklist Template". The tables: "Record" on "Loggers..." and "Checklist" on "Onsite..."

When the user wants to make a new site visit, he/she fills in the requested date and then selects a button on "Proj...". When this button is selected, it copies the table data on "Record" and puts it on "Checklist", then inserts a new worksheet tab, always in the 3rd position (the title is based on the site visit date in which the user entered), which is a copy of "Onsite...". Now we have another sheet with a table called "Checklist1", and upon another new site visit, there will be another worksheet with "Checklist2", and so on.

On the "Onsite..." worksheet, there is a button on it which also gets copied with the worksheet so that every new worksheet has this copied "Checklist ???" and this button. I'm looking for a macro that, when the button is selected, will bounce the active sheet's table "Checklist ???" off of "Record" and make changes as needed.

"Checklist ???" data range is B11:M20 (the header is on row 10); "Record" data range is B29:Q78 (the header is on row 28); Column headers are titled the same, just that "Record" has 4 extra columns, 3 in the middle and 1 on the end. "Checklist ???" columns 1-12 to "Record" columns 1-7, 10-12, 14-15. The search criteria is the 4th column in both tables ("Trk #").

I need the macro to do the following:If it finds a match, then update "Record" as needed with data from "Checklist ???", changing whatever cell is different in the row that contains the matching "Trk #", so long as the cell on "Checklist ???" is populated (i.e, if a cell on the target row of "Record" has a value, but it's blank on "Checklist ???", then "Record" wins; if it's blank on "Record", but populated on "Checklist ???", the Checklist wins. If both populated but different, then Checklist wins.If a "Trk #" exists on "Checklist ???" but is not on "Record" then add the line to "Record" (the 1st empty row, table size remains)I see no need for any "delete" at this time.

My concerns: The last column on record (column #16) is the filtering column for the worksheet copy event and needs to be left alone (it's formulated to produce a "Yes" or "No")I would like the ability to adjust table sizes if needed without modifying the macroThe table rows on "Checklist ???" will not be changed, deleted, or altered in any way by the macro.

View 2 Replies View Related

Updating Header Information

Nov 12, 2009

I have a number of sheets in a workbook, each needs to have the header equal to CELL B1 of the first worksheet (SUMMARY). I tried to use the following on each sheet, but every time I change a cell I get a delay as it updates:

View 4 Replies View Related

Updating Information In Named Range

Jun 28, 2012

1. Can a Named Range contain blank cells and update those blank cells as data is being entered?

Example: If I have a range

='Active List 6-25-12'!$A$1:$E$44,

And data only goes to $E$35 and as I add more data to the rows it will populate in any formula totals being pulled from that range?

2. If it is not automatically updating ranges, is there a refresh button to manually update the total? !: The Red refresh !

- Also redefining the data range values doesn't seem to work. I have to delete and recreate them. Frustrating on a 499 row document.

View 1 Replies View Related

Copying Information To Multiple Cells And Updating Lists

Apr 29, 2009

ive had to retype this so please bear with me. ive utilised the resources of this site before but ive come to the time where i need to ask a question of my own.

now i will refer to my attached document as what im trying to achieve.

my project is to create membership cards for our social club at work, out of a list of people we have on our manifest.

If you refer to column A, this is where i will dump the manifest of members as time progresses (keeping in mind that more names will be added to this list as it goes).

What i am hoping to achieve, is to start at Cell A2 (highlighted in yellow). For the example the membership name is "a". i want to hit the macro button and the following will occur.

1. data "a" from Cell A2 will be copied to B2 (highlighted in green) and G6 (highlighted in blue). This moves the name from being on the unregistered list over to a membership card and to the registered list, which allows me to cross check that im not doubling up on names with new applicants and current members.

2. once this occurs, i was cell A2 to delete and cell A3 to be moved up, so now, cell A3's data "b" (highlighted in orange) will be moved to A2.

3. a similar process as point 1 will now occur, where A2 will be moved to the highest empty cell in Column B, which would be B3 now. It will also copy to G18 into the 2nd membership card.

4. this process occurs until column A is empty in A2.

5. i wish to really only have an A4 page worth of membership cards before i print, so i wish to be able to "reset" the membership card boxes, so that instead of the membership cards continuing all the way down the worksheet, it will do say 12, then print, then start back in the 1st box. Ideally this is a loop so that it occurs until there are no more names in Column A.

This is a huge feet for me as an idea because ive never gone beyond using basic recorded macros, however im the type who just HAS to learn how to do stuff, so i will lap up any information or assistance i can recieve from anyone here.

View 11 Replies View Related

Copy Column Information On One Sheet And Post To A Row With Spacing

Feb 28, 2013

I have been able to produce a column that gives me key date information. I might have many empty cells in that column before it hits another date. I need to get this data over to another sheet and place it in a row.

I am trying to get it to look like this:

B2(value), C2(value),D2(blank),E2(Value),F2(Value),G2(blank) etc depending on how many more elements are found in the sheet.

I am able to find topics that allow me to copy a range of data but not one that will allow me to copy a range then skip a cell.

View 4 Replies View Related

That Takes From Manual Sheet The Number In Specific Column And Multiply It By The Percentage In Sheet

May 29, 2009

I'm trying to create a formula that takes from "Manual" Sheet the number from colume G2 and multiply it by the percentage in sheet "AllocationRule".

My formula currently is =Manual!$G$2*AllocationRule!$B5.

What needs to happen is that the total number in "Manual" needs to be distributed evenly in 4 rows by the percentages allocated in "AllocationRule".

Right now I can't copy my formula over to the sheet because the "AllocationRule" should stop at B5 and not go further and the G2 from "Manual" should not change for the percentage allocation but should change to the next row for the next month.

And then after I've done the calculation I want the LOB in "AllocationRule" to be displayed in the LOB in "H1913_H1914" but I'm not sure what formula to use.

View 7 Replies View Related

Hiding Only Specific Rows Using VBA

Jun 15, 2012

I have a spreadsheet where I have a simple formula. The formula is IF($A2=$B$2,1,0), and then I drag down to the bottom of the spreadsheet, so whenever it matches it shows a 1.

Now, what I need to do using VBA is hide all the rows that do not have 1's on them. I know how to start the VBA, but not how to finish

Code:
Dim LR as Long
LR = Range("A2").End(xlDown).Row

Because that will allow me to only select the row field that I want to do the Macro on. So, how do I go about hiding rows that only have 0's in them.

View 2 Replies View Related

Write Information Into New Row In Different Sheet But Keeps Overwriting Old Information

Apr 6, 2013

Basically I am trying to create a worksheet in which everytime I input information into Sheet 1, it is copied into Sheet 2. I want to have each entry in succession on Sheet 2 such that my first entry would be on Row 2, second on Row 3, third on Row 4, etc. However, everytime I put something new in Sheet 1, it just overrides the information in Sheet 2.

Basically I type in ticket sales in sheet 1, it calculates the prices and keeps a transaction log in sheet 2. But everytime I do a new ticket sale, it just overwrites the previous transaction witht he new transaction information. I've pasted my VBA below:

Sheet 1 VBA:

Code:
Option Explicit

'Form level variables - used in more than one event
Dim intAdult As Integer
Dim intStudentSenior As Integer
Dim intBalcony As Integer
Dim intChild As Integer
Dim sngAmountDue As Single

[Code] .......

Sheet 2 code:

Private Sub cmdSummary_Click()

'Declare Variables
Dim intCount As Integer
Dim i As Integer
Dim intAdult As Integer
Dim intStudentSenior As Integer

[Code] ......

View 3 Replies View Related

Pulling Information From A Column Based On Information In A Second Column?

Jan 27, 2014

Imagine I have 2 columns of information that look like this:

Column A
Column B

AS
Dog

AS
Cat

AS
Hamster

FT
Fish

These are my key columns. The letters are initials of people and the animals are the pets they're responsible for.

Now, I have 3 more columns that look like this:

Column D
Column E
Column F

These columns can go on for hundreds of rows.

What I want to do is pull out the information from columns D, E and F where the initials and pet match those in the key list, then paste that elsewhere (say to columns J, K and L).

So, for instance, the first entry would be copied across because, according to the key list, AS is responsible for a Dog, but the bottom entry for AS wouldn't because he was looking after a fish, and that pet isn't listed as one of his animals in the key list (Fish is listed alongside FT). Likewise, the entry for AH wouldn't come across because AH doesn't appear on the key list at all.

View 1 Replies View Related

Hiding Specific Cells Through Checkbox?

Apr 22, 2014

I'm looking to see if it's possible for me to leave information in specific cells hidden unless a checkbox is marked off. I do not need/want the entire column or row hidden (which I've found plenty of tutorials on via google)

I'll try to provide a basic example:

ie: Column A1: checkbox;;;Column B1: Dairy;;;Column C1: milk;;;Column D1: slim milk
Column A2: checkbox;;;Column B2: Poultry;;;Column C2: beef;;;Column D2: hamburgers;;;Column E2: bubba burgers (<--not a fan of them)

(the values in row C and D will never change - there are some instances where there are values in column E)

I need the checkboxes in column A and the information in column B visible at all times but C and D (and E) visible only if the checkbox is checked.

Here is an example code I tried creating myself (with .entirerow.hidden and .entirecolumn.hidden codes I found online). Obviously it didn't work lol, but I was wondering if there is a way to only get these specific cells to hide rather than an entire row/column.

Sub CheckBox1_Click()
If CheckBox1_Click = True ThenRange(C26, C27, D26, D27).Cells.Hidden = False ElseRange(C26, C27, D26, D27).Cells.Hidden = True End IfEnd Sub

View 3 Replies View Related

Hiding/unhiding Specific Rows Containing Zero

Jul 23, 2008

I would need two macros for one of my projects. I did search the forum, but I couldn't find anything what would suit my needs.

The first macro should hide those rows which would contain 0 (zero) in a specific column (in my workbook it's E). The secon macro should unhide the hidden rows.

Sound so easy ... but sadly I can't do it.

View 14 Replies View Related

How To Show Userform Hiding Specific Workbook

May 19, 2014

I need a code (and where to put it) to open my application excel with only the userform so, with the workbook hidden.

Application.Visible=False doesn't work because it close all excels and moreover I can see the workbook for 1 or 2 seconds before hiding.

View 1 Replies View Related

Search In Sheet In A Specific Column

Aug 11, 2009

I have been working on a spreadsheet with 3 sheets and have done everything except the last function which I just can't work out.

Data is entered on the first sheet in a list with an item number, description, dates etc and then finally, if they are a certain type of item, a variation, a 'variation number' in a column.

The next sheet is then called 'variations' and here starts my problem. I want to have a formula that picks up if a variation number has been entered on sheet one in the 'variation number' column and if so, add that item into this sheet, in order.

So to summarise, I need sheet 2 to search on sheet 1 in a specific column for numbers 1-30(ish) for a series of items.

I then need sheet 2 to list each of these in order, copying over each item that goes with the number from sheet 1 in the same format.

View 12 Replies View Related

Hiding Specific Columns Based On Drop Down Menu Value

Dec 17, 2009

I have this model I created where I have two tabs. One tab is an input tab using validation and drop down menus and the other is a display tab. I simply want to hide certain QTRs based on the value of one of the drop down menu results. I tried writing the VBA code below but am a novice when it comes to code. Can somebody please help me fix the below code so that it works properly.

Public Sub hide()
If Worksheets("input").Range("b14") = "Q1" Then
Worksheets("Group P&L").Columns(c, d, e, h, i, j, m, n, o, r, s, t, w, x, y).Hidden = True
ElseIf Worksheets("input").Range("b14") = "Q2" Then
Worksheets("Group P&L").Columns(c, d, h, i, m, n, r, s, w, x).Hidden = True
ElseIf Worksheets("input").Range("b14") = "Q3" Then
Worksheets("Group P&L").Columns(c, h, m, r, w).Hidden = True
ElseIf Worksheets("input").Range("b14") = "Q4" Then
Worksheets("Group P&L").Columns.Hidden = False
End If
End Sub

View 9 Replies View Related

Code To Open Different Sheet, Specific Column

Mar 26, 2009

I recorded a Macro to open a specific sheet and it works fine however I want to go to the next step and have the sheet open to a specified column in the sheet based on the column in cell 'H2' on the current sheet.

View 13 Replies View Related

Updating Range Of Data To Start On Specific Dates?

Mar 6, 2014

I am looking to have the data ranges in tab 'Type' update automatically in 'Output' for a particular start date. So for example if I enter LBO into cell E3 in the 'Output' tab it will input the data range for LBO from tab 'Type' but from a specific start date.

I know I can achieve part of this via LookUp functions but it is the start date that has me stumped.

View 8 Replies View Related

MACRO To Get Sum Of Specific Column From Various Worksheets And Appending Sheet Name

May 6, 2014

I have a workbook named as "DCR_Summary". In the sheet "FX", I want to get the sum of a specific column from two different workbooks named as "WNCR REPORT" and "DCCR-REPORT". The name of the column is "FXCOLL". The summation should start in row 7 all the way down where data is available. The good thing is that, my sum range will always starts at row 7 in both files but the bad thing is that the position of column "FXCOLL" is changing every day. The expected result is shown in the attached "DCR_Summary". It should pick at the same time the Sheet names where the summation came from. Sheet names is also changing and sometimes the FXCOLL is nil, hence, 0 value can be returned.

View 5 Replies View Related

Populate ComboBox With Specific Sheet Column Range

Mar 4, 2008

I am attempting to populate a ComboBox ( named "SRnumber2") on a userform (named "UpdateSR"), but have hit a brick wall. The following testing code was working but now it is not:

Private Sub UpdateSR_Initialize() 'This section of code initializes the drop-down boxes.

'Add list entries to SR Number combo box. The value of each
'entry matches the existing SR Information spreadsheet entries in column "A"

Sheets("SR Information").Select

SRnumber.ColumnCount = 1
SRnumber.RowSource = "A2:A200"
SRnumber.BoundColumn = 0 ...........

View 9 Replies View Related

Excel 2010 :: Hiding Rows In Pivot Table With Specific Value Range?

Jan 20, 2014

I am using a pivot table in excel 2010. 15 columns (fixed) and plenty of dive downs for rows.

I am trying to 'hide' all of the rows containing values less than 10. If it is easier we can start with hiding values of zero and go from there.

It is key to hide the rows as within the dive downs the rows within the pivot are to many to sort through. If there is a way to do this using the grand total columns for each row that would work as well. Just to be clear I need to hide the entire row not just report the empty cells as zeros. If any further detail is needed feel free to ask.

For example: If value of column O "Grand Total" = 0 'hide rows with value 0' ELSE 'display rows with value greater than 0'

View 4 Replies View Related

Hiding And Unhiding Rows In Multiple Sheets Based On Specific Cell Value With VBA

Jan 4, 2013

I am trying to find code that will allow me to hide a set number of rows based on the value of a specific cell which I need to work for two worksheets in the same workbook. Is that even possible?

For example: when i enter 5 into cell D1, I need five rows to be visible on both sheets.

View 9 Replies View Related

Hiding Specific Sheets Along With Sheets Containing Specific Number

Dec 3, 2013

I have a workbook with the following sheets i do not want to hide called "Detailed Template", "INTERFACES", "STATUS".

I then have a number of worksheets which have their names as cell addresses i.e. "E4", "E5", "D4", "F4", "G7" and so on.

I would like to hide all worksheets (except the 3 mentioned at the top [which are sheets 1-3]) and any which contain say the value of '4'. This value is defined by a cell in the "INTERFACES" worksheet say 'A1' for example.

I want the macro to be able to automatically do this for which ever value is in 'A1'. So if it were to change to '7' it would hide every sheet that doesn't contain '7' in the name.

View 6 Replies View Related

Generate Sheet Automatically On Basis Of Auto Filter On Specific Column?

Apr 8, 2014

i want to generate sheet automatically from existing sheet applying auto filter on specific column. i attached the sample which 3000 rows actually i have more than one lac rows so i have to put filter on sub_div column and then copy and paste to another sheet and give the name of sheet like F21. i want to do automatically this provide vba code or function for this

View 3 Replies View Related

Macro To Find Specific Text In Column And Copy Certain Cells In Same Row To Different Sheet

Dec 30, 2011

how to work macros or VBA

I have a workbook with multiple sheets named by month and year that I use to keep track of loans I work with at a bank. In these sheets I have info such as:

Column B = due date
Column D = loan# A
Column E = loan# B
Column F = status
Column H = followup needed
(Columns A,C, and G aren't important for the current need)

What I am trying to do is create a main sheet (TRACKER) that all I will have to do is press a macro button and it will pull info for each loan that is in a pending status.

I need a macro that will search column F (Status) on all sheets and find each instance of "Pending" and once that is done, copy rows B,D,E, and H in each "Pending" instance and copy them to their designated area on my TRACKER sheet. After that is done I need it to continue to the next "pending" instance and do the same on the next available line on my TRACKER sheet.

The overall goal would be that everyday I can press the macro and it will repopulate the sheet with the current pending items (as each day I will change pending status' to complete and no longer need to track it the next day).

I already have the tracker sheet set up and ready to go with the spaces as follows:
Column G&H = Merged cells where due date will need to go
Column I&J = Merged cells where loan# A will need to go
Column K&L = Merged cells where loan# B will need to go
Column M thru S = Merged cells where followup needed will need to go

View 9 Replies View Related

Find Specific Value In Column Of Another Sheet Then Copy Range Of That Row Onto Destination Workbook

Jun 19, 2014

I have data that is on a separate .txt file (the source file) that resembles this;

A
B
C
D
E
F

1
Case
District
Pct
Division
Level1
Level2

2
305035
0
20
72

[Code] ..........

Using VBA from within the destination workbook, I would like to use an input box that allows the user to request/specify what numerical number (0 through 55) in Column B of the txt file (the source file) will be used to determine what data to copy to the destination file. The cells to copy to the destination file would be from Column A through Column G of the source file onto Sheet1, E2 of the destination file.

Column B of the Source file will only contain numbers. However there will be numerous identical numbers in Column B. All of which will need to be copied onto the destination workbook.

From the sample above, if the user were to enter '15' in the input box, the desired result on the destination sheet beginning at E2 would look like this;

E
F
G
H
I
J

1
Case
District
Pct
Division
Level1
Level2

2
502046
15

1
3

[Code] ............

View 9 Replies View Related







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