+ Reply to Thread
Results 1 to 1 of 1

IF/macro paste special/empty values into chart problem

  1. #1
    Registered User
    Join Date
    07-14-2015
    Location
    London, UK
    MS-Off Ver
    2011, Mac
    Posts
    1

    IF/macro paste special/empty values into chart problem

    Hello,

    I am attempting to make a workbook with a graph to show weekly sales and total percentage of stock sold.

    My problem is that with my current set up, when plotting the line for 'sell through' the chart will not recognise the empty cells when I select 'connect values with line'.

    In column A I have week 1, week 2 etc. In column B I have sales in £ for the week (this column is where the data will be input but will sometimes have a zero value). This is then linked to the value of the stock amount on sheet 1 to produce a cumulative percentage of the value of stock sold in column C. I have then used an IF formula to copy this column removing any duplicate data into column D, and recorded a macro linked to 'button b' (which is to be used to updates the chart after new data is entered) to 'paste special' values (without formulas) into column E which the chart then pulls its data from. Columns C and D will be hidden and locked.

    I think the problem is that the macro leaves the cell completely empty (rather than being 'blank' or 'zero' which the 'connect values with line' setting for the chart will recognise) as if i click in the cell and press delete the point on the graph will be removed.

    Once this is figure out I intend to replicate sheet 2 multiple times for all of the stores (1-40) on sheet 1.

    Any help will be greatly appreciated! I'm using excel 2011 for mac if that matters.

    I am a total novice at excel so if you need further information please let me know and I will provide.

    Thank you!
    Attached Files Attached Files

+ 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. Replies: 0
    Last Post: 03-20-2014, 11:51 AM
  2. Copy Paste Special Values Problem
    By ConorK in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 02-14-2012, 05:12 AM
  3. Macro to special paste dynamic values into text values with periods
    By iyudhi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-01-2011, 04:42 PM
  4. 'Paste Special' problem with macro
    By katmc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-14-2008, 04:52 PM
  5. Copy -> Paste Special -> Values (PROBLEM)
    By davehunter in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-04-2007, 09:20 AM
  6. Macro problem, after inserting new row, paste special
    By cheeky in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-29-2007, 04:36 PM
  7. Paste Special with sheet macro problem
    By PaulC in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2006, 08:16 AM
  8. [SOLVED] problem with Paste-Special-Values from a List (range of cells)
    By crimsonkng in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2005, 05: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