Results 1 to 12 of 12

Formulas or VBA better for this application?

Threaded View

  1. #1
    Forum Contributor
    Join Date
    04-30-2009
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    496

    Formulas or VBA better for this application?

    Good morning all. I need to sum quantities of parts on sheet "1_ImportedData" column "F" (QTY) that match a specific part number or a named range and paste the matching "Customer Name" from "ZZ_Maintenance" column "C" and sum for that part and customer. The "Customer Name" (hyperlinked to the matching Customer sheet) would go in the matching equipment column on 3_Equipment" sheet and the sum would go in the "Onhand QTY" column for that part. There is an authorized quantity which is on the "ZZ_Maintenance sheet" for each customer and part that needs to be copied to the 3_Equipment" sheet as well in the "Authorized QTY" columns. 3_Equipment in the attached workbook shows the desired result. Since I am using some Named Ranges as well as single part numbers, I have no idea which method (VBA or Formulas) would be best to accomplish this (or even if one or the other can do this on its own) so if anyone has some example code or formulas I can try, it would be greatly appreciated.

    Thanks in advance,
    Andrew
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Writing formulas in VBA giving an Error application defined error?
    By malleat1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2015, 12:00 PM
  2. [SOLVED] VBA code to change the application.username and application.userinitials
    By jwlamb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-10-2014, 11:25 PM
  3. [SOLVED] Obscure VBA error? Application.Run conflicts with Application.GetOpenFileName
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-15-2013, 08:31 PM
  4. Need help with copy and paste formulas and application-defined error
    By mpjennings25 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-03-2013, 11:20 AM
  5. difference application.quit & application.close
    By Pierre via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-08-2005, 04:00 PM
  6. [SOLVED] [SOLVED] Application.GetOpenFilename vs Application.Dialogs(xlDialogsOpen)
    By Paul Martin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-05-2005, 12:05 PM
  7. Replace application.RTD property by Application.RTDServers collect
    By John.Greenan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2005, 10:05 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