Move A Number From A Group Automatically And Post In A Different Colume
Nov 3, 2008I would like to move a number from a group, automatically and post in a different colume. Like remove the 4 from 439 to a different colume.
I would like to move a number from a group, automatically and post in a different colume. Like remove the 4 from 439 to a different colume.
i've got a worksheet with a column of unique numbers that i sort from smallest to largest; colA. these numbers are asset #'s of all items that i should have in inventory and all are barcoded.
using a scanner i scan the barcode # into colB however these items are on the shelf in random order.
as it stands i place my cursor in the first empty cell of colB (B2) the scanned # is entered into B2 and the cursor moves down to B3.
What i'd like is to have the randomly scanned number automatically move to the cell in colB that is beside the corresponding # in colA regardless of where the cursor is prior to the scan.
e.g.: 16 is in A16, cursor is in B2 waiting for first scan, first randomly scanned # is 16; so 16 is automatically entered into B16 instead of B2.
how to use the group box to group a number of option buttons together.
Question is, lets say, i have a total of 4 group box. if i want it to work in such a way where by once 2 option buttons are being selected (1 option selected from each group box), the rest of the option buttons in the 4 group box will be greyed out. is that possible?
I have a Group Box (from the Forms Toolbar) with alot of Options Buttons (18) that are assigned macros to navigate around my worksheet.
The Group Box is currently set in Range B2:G7 . What I am trying to do is, if one of my Option Buttons brings me to L23, my Group box will still show in L2:R7. In other words, the Group Box moves Right where ever the active cell is.
I have tried Freezing Panes in numerous position, but that does not give me what I'm after. Tried Format Control, whatever I could think of, etc.
Could be that I am not using the right control to set this up?
From the attached data is it possible to create a formula to count the number of staff in post that are line managers?
View 7 Replies View RelatedI need to move a portion of info over 4 columns. I need to do this after a certain criteria is met.
A B C D E
1 Mem# Mem Name Sta Area
2 123C Joe Smith G bev
3 4 Wine 4.95 6
4 5 wine 5.95 6
5 2 food 6.95 5
6 124G Fred Choi C Bev
7 4 Wine 4.95 6
8 5 wine 5.95 6
9 2 food 6.95 5
A3, B3,c3,d3 need to shift over 4 clmns then when nxt member #(a6) is met rows below need to shift over 4 clmns until nxt mem #, so on and so forth. Please Help. New to the macro scene.
how to modify the below code.
right now it will check for col C and D , if both col have zero it will delete, i like to change the code , so it only check for C col , if it is zero , it delete the row.
Sub macro_07_if_detect_2_zero_delete_row()
Dim lastrow As Long, i As Long
Application.ScreenUpdating = False
Application.Calculation = xlManual
With ActiveSheet
On Error Resume Next
.Columns(3).SpecialCells(xlCellTypeFormulas, xlErrors).EntireRow.Delete
On Error GoTo 0
lastrow = .Cells(Rows.Count, 3).End(xlUp).Row
For i = lastrow To 1 Step -1
If .Range("C" & i).Value = 0 And .Range("D" & i).Value = 0 Then .Rows(i).Delete
Next i
End With
Application.ScreenUpdating = True
Application.Calculation = xlAutomatic
End Sub
I have a workbook that contains part numbers and their components listed like below. There is always one empty row between the part number and the components, and then 3 empty rows between the last component and the next part number.
The number of components varies from sometimes only 1 up to 25. Currently, I select a part number and its components like B1:C5 and then I have a macro that copies it to another workbook. What I would like to do is somehow get the macro to automatically select the next set down, in this case, B9:C14, so I could copy every set over to its proper place with only one click of the button.
How can I make a macro to automatically insert the information in a new cell (COMP OFFICE). See attached. I want create a macro that cell COMP CODE 1JFQ, 3NM, 1145, 1C1 automatically put "AFP 3" in cell COMP OFFICE, etc. See attached.
There are hundreds of different codes in cell COMP CODE that we are pulling from our main office and internally we have to create COMP OFFICE cell to group them for our own purposes. It take a lot of time for us to manually tag the codes to COMP OFFICE cell
I got 2 columns A and B, I need to find if the cells in colume B are in cloumn A and do some copy pasting. But sometimes when it cant be find in column A, then VBA shows an error message. What I want is if it cant be find in column A, then skip it and go to the next cell of B and find it in A again. I think it can be done with On error resume next, On error goto 0, but i cant make it work.
View 2 Replies View RelatedIs there any way to outline excel data automatically
In the attached excel sheet : test outline.xls
I need automatically Because my data very large ...
In my spreadsheet, I have a column for credit card totals (G) and cash totals (J)
I am adding the amounts for Food (Column B), Liquor (Column C), Wine (Column D), Beer (Column E), and Taxes ( Column F) for a total in Column G.
However, Column G is only for credit card totals and I want to do the same calculations for cash totals (Column J) using the same B through F Column without those numbers being plugged back into Column G, when I have no credit card total.
Is there a way to automatically move cells down after I entered data in it? This way I do not have to scroll all the way to the bottom of the list to add new data.
View 5 Replies View RelatedIs it possible to create a cell in one sheet, where after data is entered, will move it to another sheet. Additionally, the data in the cell, after the transfer to another sheet is made would delete itself. Once the data is entered, sent to another sheet and deleted, next time data is entered into the same cell, it would be sent into a row below the cell that the first piece of data would be in. Therefore, after I enter data, [for example] press enter, then go back to input some more data, after a while there would be a long list in another sheet. The last feature of the problem (it would be something extra really) is that the function/macro is to be time dependent - during one month the data would stack up in one column, after the next one begins, the next column will automatically start all over.
The idea is to create a budget book - where on the main page I would only have to enter the value in a specific box, the value then would be automatically sorted into the right row and column in another sheet, after the month/week ends, data would start to stack up in a column devoted to a new month/week.
Of course the data could be entered manually in different sheets, but it proved to be too complex to be useful.
I have Excel 2003. I need a formula that will automatically move data in a row to another sheet, in the same workbook, based on either a two digit department code or possibly a date. I enter information on a master sheet, (8 columns of data: Text/$/digits) and I need that information to separate out to the other sheets when that department's two digit number is entered on this sheet. There are a total of 6 sheets in this workbook, counting the master. The data I am entering will be about 40-50 rows down of information, 8 columns across. Will this take a macro? Loop?
View 9 Replies View RelatedEvery day we receive a text report via email (only way it can be received), so we take this text report print it out and manually type it into an excell sheet.
I believe this is a waste of time. Is there any way I could take this info and automatically place in the the excell?? Until know I found a text to excell converter and was gonna create a macro to automatically convert this info into the excell report.
I have a spreadsheet that contains large amounts of data. I've looked through the forums and tried to adapt other VB code to work for me all to no avail.
I would like a macro to automatically cut a row from sheet1 and paste it on to a new line in sheet2 when data is input into column 'X'. (The data input in to column X is a date the specific case is resolved)
I have a excel file Sheet 1 is active data Sheet 2 is complete data, How can I make the column move automatic from one sheet to another with out cut/pasting?
View 1 Replies View RelatedI'm looking to automatically move data from my working worksheet, when a particular column states "Won" or "Lost". I'm hoping the entire row of data can be cut, and added to the appropriate sheet, determined by "Won" or "Lost".
View 5 Replies View RelatedI have a simple projectlist on sheet1 formatted like this:
Column A=Projectname, B=Description, C=Owner, D=Deadline and E=Status.
On sheet2 I have the same columnheaders.
What I would like to do, is that if Status changes to "Done",
* the entire row should be copied to a free row on sheet2, or just inserted on sheet2.row2 without overwriting anything
* the now empty row on sheet1 should be deleted (so there're no empty rows)
* the data on sheet2, should be sorted with D as first key and C as second.
Then, if Status on sheet2 changes to "Reopened", the same procedure should happen but from sheet2 to sheet1.
My first choice was to create a checkbox on each row in the Status column,but I noticed it didn't seem to follow with cut/paste even though I changed the property Locked to false. Anyone knows if it's possible to change this behaviour?
I only know small bits of VBA but my idea is this: ...
I want to make a spreadsheet that has codes that make items show up on another sheet but how to do this.
For example I would start on sheet 1 and on cell A2 I would type the amount $100. Then in cell B2 I would type in F (I will call this a code).
Now on sheet two I want the amount on cell A2 to show up in a column of items designated for F items. If I had typed in G instead I would have wanted it to go to a column for G items. All the values under the given code will show up in the column that is represented by them.
I need to transfer data from a table dynamically updated every 10 minutes to a table that never changes and maintains data, how can this be done using a macro?
View 1 Replies View RelatedI have created a spreadsheet for internal use in my workplace that logs task by members of staff, What I am trying to achieve is when someone selects from a drop down box that a task has been complete I want the task to automatically move to another worksheet for the relevant month, as I will have worksheets for every month logging all the past tasks that have been assigned. I believe an IF statement should do the trick, but I am having no luck so far.
View 2 Replies View RelatedI am trying to use visual basic editor in excel. I have all ready set up my user form where information can be entered, but I ave having trouble getting the information that is entered in the user form into the correct cells in excel.
I am wanting my information to enter the tables and then automatically move into the next available cells below.
Private Sub cmdadd_Click()
Dim iRow As Long
Dim ws As Worksheet
Set ws = Worksheets("details of cars in stock")
iRow = ws.Cells(Rows.Count, 1) _
.End(xlUp).Offset(1, 0).Row
If Trim(Me.txtreg.Value) = "" Then
Me.txtreg.SetFocus
MsgBox "please enter a registraion number"
Exit Sub
End If
ws.Cells(iRow, 1).Value = Me.txtreg.Value
Me.txtreg.Value = ""
How to generate random 50 number with 10 group..
View 6 Replies View RelatedI have different sets of number from six digits to a max of 15 digits
eg.
012345
001005869
Z000000A
K1234567
CF0000009
K880000000
M000000123
Y001234505
AL56231
5649852A
What I want is to get the proper category for this number depending upon there digit for eg.
number starting with Z and of 8 digits belongs to group A
number staring with Y ending with 5 and 10 digits belong to group B
number ending with A and which does not starts with any alphabet has 8 digits belongs to group C.
similary ...
A user need to just key in the number, press tab (or any other button) and group for that number
must be displayed (depending upon the compostion of that numbers).
What I can think of is to first seprate each digits from the given number, verify it and then filter them through the groups to get the final group.
Every month we have to reconcile our checks and then enter them into our application. We have an option in our application that we can do Check Number ranges. We are trying to find an away to have excel to put the checks in ranges either by a formula, a micro or a pivot tables. We have over 700 checks each month to reconcile.
View 9 Replies View RelatedI'm looking for another excel game changer (for the work I do anyway).
I have a dollar amount, and I want to know if any combination of dollar amounts in a particular range of cells will equal that dollar amount. Is this possible in Excel?
Example: I have 20 different dollar amounts in a column. I want to know what combination of those 20 different dollar amounts, if any, will equal $257.97. The dollar amount I'm looking for and the numbers in the range will change with each use. I'm hoping for a formula, but VBA will work too as I could just make a template and copy / paste the numbers in.
What I am trying to do is to be able to paste 2 telephone numbers into one cell and subtract the last 4 digits of each from the other. for instance entering 4063219225-4063219297 into one cell subtracting the last 4 digits of each number to come up with 72 (9297-9225).
View 9 Replies View RelatedI like to copy all description with Brand BECKHOFF to sheet1.
and Banner to sheet2.
i have many brand , and i like it copy to individual sheet.
now i have to do it manually , it take very long and not productive.
INVC X201BANNER 202BAUMER 203BECKHOFF204BECKHOFF205BECKHOFF Excel tables to the web >> Excel Jeanie HTML 4
Brand name
Banner
Baumer
Beckhoff
Copy all row to :-
sheet 1
sheet 2
sheet 3
and rename
sheet 1 to Banner
sheet 2 to Baumer
Sheet 3 to Beckhoff