+ Reply to Thread
Results 1 to 2 of 2

Macro to create a Result Sheet from Data and Names Sheet

  1. #1
    Registered User
    Join Date
    06-21-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    61

    Macro to create a Result Sheet from Data and Names Sheet

    Hello Experts,

    I have a data sheet (sample attached) on Excel 2010.

    Data is starting from Row 15
    Department names are in Row 14

    Data Sheet has details of different departments and Products etc.

    I want a macro which should run for each Department on the current Data till the last Row (eg 567 in the attached sample) and last Column (eg AE in the attached sample)

    I want to get the following from ‘Data’ Sheet for each Dept as sample shown on the ‘Result’ sheet:

    The following Col refers to the ‘Result’ sheet

    Col A – should be the current date
    Col B – should be Ref No.
    Col C – should be a lookup value against the Dept Name from the ‘Names’ Sheet
    Col D – should be a text value CUR
    Col E – should be the QN value under each Dept. No blanks required
    Col F – should be the QV value under each Dept. No blanks required
    Col G – should be sum of QN and QV Columns
    Col H – should show the Product Name from Col A of Data Sheet
    Col I – should show the Dept Name from Row 14 of Data Sheet

    I have colored for sake of easy explanation and only shown for Dept1
    The macro should do the same for each Dept

    Hope to get some help
    Thanks in advance
    Nasir
    Attached Files Attached Files

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Macro to create a Result Sheet from Data and Names Sheet

    Strange, very similar to this request but now required result is the other way round. Coincidences?

    http://www.excelforum.com/excel-prog...ult-sheet.html

    Alf

+ 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. [SOLVED] Macro to create new folder by the sheet names
    By sarajun_88 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-29-2015, 08:06 AM
  2. [SOLVED] Macro for searching on sheet 1 with data from sheet 2 and create new sheets
    By stitchoz in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 03-03-2014, 12:25 PM
  3. Replies: 1
    Last Post: 12-03-2013, 04:19 AM
  4. [SOLVED] Create an Array which has Sheet Names excluding a Few Sheet Names to be used in a MACRO
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-29-2013, 03:24 PM
  5. Macro: Create an input sheet an copy the data onto a new row in another sheet
    By bernardnoel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-17-2013, 09:23 AM
  6. [SOLVED] Simple macro to create list of sheet names and the contents of cells A1 & N1 of each sheet
    By atcsmh in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-15-2013, 11:11 AM
  7. Macro in sheet one to create a search for names in sheet 2
    By CamillaKb in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-16-2012, 08:17 AM

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