+ Reply to Thread
Results 1 to 2 of 2

Multiple percentage calculation through VBA

  1. #1
    Registered User
    Join Date
    02-28-2012
    Location
    Kolkata
    MS-Off Ver
    Excel 2007
    Posts
    35

    Multiple percentage calculation through VBA

    Please see the attached file. I want to perform percentage calculation through VBA. The results should be what is given in G column. This is an example workbook. If I do it through macro recording, it only applies for the current range.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    07-14-2017
    Location
    Poland
    MS-Off Ver
    Office 2010
    Posts
    528

    Re: Multiple percentage calculation through VBA

    Hi,
    array formula (Ctrl+Shift+Enter) in a cell 'G4' and a copy down
    =IFERROR(F4/INDEX($F$1:$F$1500,MIN(IFERROR(IF(SEARCH("Total",$E4:$E$1500),ROW($F4:$F$1500),""),""))),"")
    Regards.
    Last edited by maras_mak; 09-05-2018 at 03:23 PM. Reason: Formula repair

+ 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. Calculation Percentage Value
    By radddogg in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-06-2017, 11:37 AM
  2. Percentage calculation
    By deano3141 in forum Excel General
    Replies: 6
    Last Post: 11-27-2016, 02:00 PM
  3. [SOLVED] Percentage Calculation
    By DebGodfrey in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-16-2016, 04:29 AM
  4. [SOLVED] Percentage calculation based on multiple date criteria
    By odahilys in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-26-2015, 10:10 AM
  5. Percentage Calculation
    By pknivens in forum Excel General
    Replies: 2
    Last Post: 10-07-2008, 08:55 PM
  6. [SOLVED] Percentage Calculation
    By maddog9486 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2008, 03:02 PM
  7. Percentage Calculation
    By clandis in forum Excel Formulas & Functions
    Replies: 57
    Last Post: 09-06-2005, 03:05 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