how to quickly fill in a table

coscongr

New Member
Joined
Jan 28, 2018
Messages
13
I have an Excel table of that format

number | description | weight 1 | weight 2 | number | description | weight 1 | weight 2





I have to fill in data by finding the number and manually fill in weight1 and weight2

Is there a way I could just make the data entry quickly instead of finding line by line the right number every time?

The ideal would be something like this:
type a number and automatically send me to the right line to add the two weight numbers
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I think it would be helpful if you could post a small sample of your data and your expected result.

You cannot upload files to this site. But there are tools you can use to post screen images. They are listed in Section B of this link here: http://www.mrexcel.com/forum/board-a...forum-use.html.
Also, there is a Test Here forum on this board that you can use to test out these tools to make sure they are working correctly before using them in your question.
 
Upvote 0
I think it would be helpful if you could post a small sample of your data and your expected result.

You cannot upload files to this site. But there are tools you can use to post screen images. They are listed in Section B of this link here: http://www.mrexcel.com/forum/board-a...forum-use.html.
Also, there is a Test Here forum on this board that you can use to test out these tools to make sure they are working correctly before using them in your question.



Sheet1

ABCDEFGH
tomatoCherries
potato 1chips
potato 2chocolate
spaggetichowder
cornclams
meloncoffee

<tbody>
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=CACACA]#CACACA[/URL] , align: center"]1[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=99CCFF]#99CCFF[/URL] , align: center"]code[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=99CCFF]#99CCFF[/URL] , align: center"]description[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=99CCFF]#99CCFF[/URL] , align: center"]charged kg[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=99CCFF]#99CCFF[/URL] , align: center"]received kg[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=99CCFF]#99CCFF[/URL] , align: center"]code[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=99CCFF]#99CCFF[/URL] , align: center"]description[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=99CCFF]#99CCFF[/URL] , align: center"]charged kg[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=99CCFF]#99CCFF[/URL] , align: center"]received kg[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=CACACA]#CACACA[/URL] , align: center"]2[/TD]
[TD="align: center"]ab25[/TD]

[TD="align: center"]es542[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=CACACA]#CACACA[/URL] , align: center"]3[/TD]
[TD="align: center"]ab26[/TD]

[TD="align: center"]fs569[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=CACACA]#CACACA[/URL] , align: center"]4[/TD]
[TD="align: center"]ab27[/TD]

[TD="align: center"]eq12[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=CACACA]#CACACA[/URL] , align: center"]5[/TD]
[TD="align: center"]de12[/TD]

[TD="align: center"]dd588[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=CACACA]#CACACA[/URL] , align: center"]6[/TD]
[TD="align: center"]fd25[/TD]

[TD="align: center"]2354[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=CACACA]#CACACA[/URL] , align: center"]7[/TD]
[TD="align: center"]ef256[/TD]

[TD="align: center"]as54[/TD]

</tbody>



my task is a daily report of deliveries.
 
Upvote 0
Is that the before or after picture?
I am trying to get a clearer picture of what the data you have currently looks like, and what exactly you are trying to do with it.
 
Upvote 0
I have an Excel table of that format

number | description | weight 1 | weight 2 | number | description | weight 1 | weight 2





I have to fill in data by finding the number and manually fill in weight1 and weight2

Is there a way I could just make the data entry quickly instead of finding line by line the right number every time?

The ideal would be something like this:
type a number and automatically send me to the right line to add the two weight numbers
Try this:
Code:
Sub Find_In_Column_A()


Dim FRD As Variant, Find_Range As String, B as worksheet


Try_Again:


FRD = Application.InputBox("Value to find in Column A")


Set B = ActiveSheet


With B
    On Error GoTo Not_Found
    Find_Range = .Range("A:A").Find(FRD).Address
    Application.Goto .Range(Find_Range)
                     .Range(Find_Range).EntireRow.Select


End With


Exit Sub
Not_Found:
        If MsgBox("The selected code { " & FRD & " } was not found within column A.  & vbNewLine & vbnewline & Would you like to try again ?", vbYesNo, "Please choose") _
            = vbYes Then GoTo Try_Again


End Sub
 
Last edited:
Upvote 0
Try this:
Shorter version
Code:
Sub Find_In_Column_A()


Dim FRD As Variant, Find_Range As String: Set B = ActiveSheet


Try_Again:


FRD = Application.InputBox("Insert lookup code")


    On Error GoTo Not_Found
    
    Application.Goto B.Range("A:A").Find(FRD)
    ActiveCell.EntireRow.Select


Exit Sub
Not_Found:
        If MsgBox("The selected code { " & FRD & " } was not found within column A" & vbNewLine & vbNewLine & "Would you like to try again ?", vbYesNo, "Please choose") _
            = vbYes Then GoTo Try_Again


End Sub
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,194
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top