+ Reply to Thread
Results 1 to 6 of 6

I was asked to use VLOOKUP and SUM functions to calculate the market share of an item

  1. #1
    Registered User
    Join Date
    03-14-2021
    Location
    India
    MS-Off Ver
    2019
    Posts
    3

    I was asked to use VLOOKUP and SUM functions to calculate the market share of an item

    With a single formula, how can I pull the market share of "Product A" in May'15 from sales data given below?

    Using VLOOKUP and SUM functions.

    Please help.


    Sales in units
    PRODUCTS Jan-15 Feb-15 Mar-15 Apr-15 May-15 Jun-15 Jul-15 Aug-15 Sep-15 Oct-15 Nov-15 Dec-15
    Product A 11 7 240 251 177 279 37 45 165 125 26 149
    Product B 226 63 18 119 226 32 213 175 42 131 150 34
    Product C 32 196 248 300 15 167 177 120 27 33 269 125
    Product D 49 212 17 183 188 28 64 17 143 37 126 283
    Product E 128 182 146 12 28 35 176 38 217 227 241 88
    Product H 300 293 151 69 165 37 80 87 8 12 42 122
    Product I 138 72 188 132 12 257 184 223 93 118 98 179
    Product J 110 161 109 253 279 104 41 16 1 57 165 207
    Product K 278 239 205 278 147 84 111 201 118 276 188 122
    Product L 176 139 209 168 52 68 37 207 45 18 23 184
    Product M 60 85 296 220 9 262 182 91 255 22 287 91
    Product N 153 110 233 292 125 15 134 36 260 276 126 113
    Product O 155 185 82 134 60 284 38 157 126 73 116 19
    Product P 262 13 136 8 10 91 115 163 8 34 178 201
    Product Q 129 159 204 276 223 76 133 38 80 78 238 121
    Product R 25 255 172 53 232 277 183 275 158 20 145 273
    Attached Files Attached Files
    Last edited by IamDeena; 03-14-2021 at 01:03 PM. Reason: Added attachment

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: I was asked to use VLOOKUP and SUM functions to calculate the market share of an item

    Is this coursework? If not, why are you wanting a solution involving the use of ONLY those two functions?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    03-14-2021
    Location
    India
    MS-Off Ver
    2019
    Posts
    3

    Re: I was asked to use VLOOKUP and SUM functions to calculate the market share of an item

    I was asked to do this in an interview test. Is it possible?

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: I was asked to use VLOOKUP and SUM functions to calculate the market share of an item

    Maybe =H7/SUM(H7:H22). Not sure how Vlookup would come into play.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: I was asked to use VLOOKUP and SUM functions to calculate the market share of an item

    The dates are a bit weird... they are all 16th month... but setting that aside:

    =VLOOKUP("Product A",$C$7:$O$22,MATCH(DATE(2015,5,16),$C$6:$O$6,0),FALSE)/SUM(INDEX($D$7:$O$22,,MATCH(DATE(2015,5,16),$D$6:$O$6,0)))

    I wouldn't do it that way, however. BUT.... it is possible...
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-14-2021
    Location
    India
    MS-Off Ver
    2019
    Posts
    3

    Re: I was asked to use VLOOKUP and SUM functions to calculate the market share of an item

    Quote Originally Posted by Glenn Kennedy View Post
    The dates are a bit weird... they are all 16th month... but setting that aside:

    =VLOOKUP("Product A",$C$7:$O$22,MATCH(DATE(2015,5,16),$C$6:$O$6,0),FALSE)/SUM(INDEX($D$7:$O$22,,MATCH(DATE(2015,5,16),$D$6:$O$6,0)))

    I wouldn't do it that way, however. BUT.... it is possible...
    It works great. Thanks a lot Glenn.

+ 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] Need formula to get the Market share
    By leo73pk in forum Excel General
    Replies: 14
    Last Post: 09-15-2018, 05:51 AM
  2. Help adding market share line over bar chart
    By Character_Zer0 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-30-2014, 04:40 PM
  3. [SOLVED] Time Series Forecast based on market share (market penetration)
    By mils in forum Excel General
    Replies: 5
    Last Post: 02-17-2014, 09:40 AM
  4. How to calculate market growth and market share?
    By keesberbee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2013, 02:42 AM
  5. Market Share Development
    By cutiegal in forum Excel General
    Replies: 0
    Last Post: 07-11-2013, 07:08 PM
  6. Market Share
    By seikho in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 08-31-2012, 05:27 PM
  7. [SOLVED] Share of Excel in the market
    By [email protected] in forum Excel General
    Replies: 1
    Last Post: 05-12-2006, 07:50 AM

Tags for this Thread

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