+ Reply to Thread
Results 1 to 6 of 6

Curious if this is possible in any way with Excel

  1. #1
    Registered User
    Join Date
    07-06-2015
    Location
    Oldenzaal - Netherlands
    MS-Off Ver
    2013
    Posts
    3

    Curious if this is possible in any way with Excel

    Hello,
    I’ve started learning VBA for about two weeks now. The reason I started is because I’m trying to create an easy way of filling out invoices at the company I work.
    I’m curious if what I want is even possible. So,
    at the store I work, a Cheese store, we use a form to fill out the weight of products restaurants order on a specific date
    Something like

    Product 01-01-2015 03-01-2015 08-01-2015 10-01-2015 11-01-2015
    Cheese 1 0 2 1 3 0
    Cheese 2 10 3 0 3 0
    Cheese 3 0 7 6 3 10

    I need to know if it’s possible to extract the data from this table and create a new row on a different worksheet where I can then use some standard VLOOKUP and HLOOKUP for the price to calculate the total.
    I’d like it to look something like this:

    Date Description Quantity Price
    01-01-2015 Cheese 2 10 €€€€€
    03-01-2015 Cheese 1 2 €€€€€
    Cheese 2 3 €€€€€
    Cheese 3 7 €€€€€
    08-01-2015 Cheese 1 1 €€€€€
    Cheese 3 6 €€€€€

    So when a certain product isn’t ordered on a specific date, it skips that row for that date and checks the next cell.
    Could this problem be solved through VBA or any other function within Excel

    Kind Regards,
    Finsent

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Curious if this is possible in any way with Excel

    A Welcome to the forum.

    It will make it easier to help you if you include an Excel workbook. (not a picture of a workbook please)

    Directions:

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Registered User
    Join Date
    07-06-2015
    Location
    Oldenzaal - Netherlands
    MS-Off Ver
    2013
    Posts
    3

    Re: Curious if this is possible in any way with Excel

    Ah sorry! I thought the numbers would align as in the editor

    Anyways I added an example.

    I used just filled out a few numbers for an example.
    The first tab is the invoice, which is quite obvious.
    The second is the one we use in our Store with a Tablet, the amount ordered is filled out here.
    The third tab is also obvious, it's for the prices related to each product.
    Last one is with information of the costumers.

    What I would like to know, is it possible to get the ordered amounts from the second tab. Then create a row with this amount on the first tab with it's Date and Description.
    Attached Files Attached Files
    Last edited by Saxumes; 07-06-2015 at 03:49 PM.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Curious if this is possible in any way with Excel

    This might be what you are looking for. I filled in the date column on the Factuur worksheet. This was done to help in calculating. The first date for each series of the same date is visible, the others are hidden with Conditional Formatting.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-06-2015
    Location
    Oldenzaal - Netherlands
    MS-Off Ver
    2013
    Posts
    3

    Re: Curious if this is possible in any way with Excel

    This is great newdoverman! Thanks a lot.

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Curious if this is possible in any way with Excel

    You're welcome. Thanks for the feedback.

    When entering dates on the invoice, enter the date on each row. If the date is the same as the one above it, it should be hidden after entry. A new date should remain visible.

    If that solves your problem please mark the thread as SOLVED.
    You will find this under Tools just above your first message.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. I'm only being curious.
    By Jo-Jo in forum The Water Cooler
    Replies: 13
    Last Post: 12-02-2009, 09:25 PM
  2. Just curious
    By famdamly in forum Excel General
    Replies: 2
    Last Post: 12-06-2005, 09:45 PM
  3. [SOLVED] Just curious about Excel copying dates between workbooks???
    By Steve in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2005, 10:00 AM
  4. [SOLVED] Just curious
    By RedChequer in forum Excel General
    Replies: 3
    Last Post: 03-10-2005, 08:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1