+ Reply to Thread
Results 1 to 8 of 8

copy and paste special and delimiters

  1. #1
    Forum Contributor
    Join Date
    11-18-2014
    Location
    England
    MS-Off Ver
    365
    Posts
    132

    copy and paste special and delimiters

    HI, I have a bit of a weird one! I have a spreadsheet with a lot of formulas in which is constantly updated based on the data saved in other spreadsheets. each week I have to save a static version of this report to create a snapshot view of that week/Month/YTD moment in time. I do this by copying the cells I want and then copy paste special (values and number formats) into a template which I then save and name for the relevant week. I then use the snapshot views to create a monthly report at the end of each month by creating a new spreadsheet that has sumproduct formulas in it which point to the relevant week's snapshot report. (sounds odd but it does make sense)!

    My problem is this. in the monthly report that I create I have been getting VALUE errors in all of the cells that have the sumproduct formulas in them unless I go back into the snapshot report and change the delimiters on the cells containing the data to 'space'. I have no idea why this might be. can anyone shed any light on this and how to fix it otherwise I have to manually go into the snapshot report and do the delimiter thing with every column I am referencing in the monthly report.

  2. #2
    Forum Contributor
    Join Date
    03-31-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: copy and paste special and delimiters

    Can you upload a copy of the spreadsheet? Sounds to me like you may be a space off on your formulas and have a REF# error in a cell or 2. An easy way to find them is go to your left top corner of your spreadsheet and click there. That will high light the entire sheet. Then change the color of the sheet to all black background. Then change your font to white or I use like green lol. The REF# error will stick out like a sore thumb

    Either fix the error now or write down where it is and just hit the undo arrow back to your original sheet. If you have a lot of rows go and high light all your columns . This time run your mouse across the top of all your columns and high light them ...... now , click on your data tab and then your filter tab. That should put little arrows in every column On each column click on an arrow. This will tell you everything that is in each row in order (all your 1s , 2s, words together ) again you will see the word REF# which is an reference error

    Good luck

  3. #3
    Forum Contributor
    Join Date
    11-18-2014
    Location
    England
    MS-Off Ver
    365
    Posts
    132

    Re: copy and paste special and delimiters

    Hi I have checked all of the reports and I cannot see any issues with the formulas no #REF anywhere. The monthly report is pointing to a static snapshot which does not contain formulas only numbers which have been copy paste special from the original report.There is no #REF on the snapshot (numbers report) The formula I am using to look up in the monthly report is:

    =SUMPRODUCT(--($C2='S:\Marketing\2015\BRANCH DEVELOPMENT\Reports 2015\DLS Branch Referral (LG)\DLS Referral Report By Week\[DLS Branch Referral Report 2015 Week 37.xlsx]Branch'!$N$5:$N$5987)*('S:\Marketing\2015\BRANCH DEVELOPMENT\Reports 2015\DLS Branch Referral (LG)\DLS Referral Report By Week\[DLS Branch Referral Report 2015 Week 37.xlsx]Branch'!$S$5:$S$5987))

    This is currently resulting in #VALUE error unless I go to the 'DLS Branch Referral Report 2015 Week 37' report and change the delimiters on column S to 'space'. The 'DLS Branch Referral Report 2015 Week 37' report does not have formulas in it only the data.

    sorry if this is confusing but I just don't understand why this is happening or how to fix it!

  4. #4
    Forum Contributor
    Join Date
    03-31-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: copy and paste special and delimiters

    Not at all confusing just need to find (-:


    It generally means you've tried to carry out a mathematical operation on text. For example

    A1= a text value

    the formula =A1*1 returns a value error.

    It isn't always as obvious as that because sometimes cell contents that look like numbers can actually be text and give this error.
    Last edited by Larbec; 09-21-2015 at 07:15 AM.

  5. #5
    Forum Contributor
    Join Date
    11-18-2014
    Location
    England
    MS-Off Ver
    365
    Posts
    132

    Re: copy and paste special and delimiters

    I have tried copy and paste the columns as format 'general' to remove any text as this did occur to me as well but it still does not stop the #VALUE error. Is it something to do with the way I am copy paste special the data as 'values and number formats only' from the original spreadsheet or something to do with the original spreadsheet containing the formulas?

  6. #6
    Forum Contributor
    Join Date
    03-31-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: copy and paste special and delimiters

    Quote Originally Posted by moneypennie21 View Post
    I have tried copy and paste the columns as format 'general' to remove any text as this did occur to me as well but it still does not stop the #VALUE error. Is it something to do with the way I am copy paste special the data as 'values and number formats only' from the original spreadsheet or something to do with the original spreadsheet containing the formulas?
    I am not sure, save a copy and then you can try to copy and paste it differently and see what happens. I've not given up just think to think a bit and perhaps someone else with more expertise than I can chime in. I know these things can be aggregating

    Do you do any color formatting of any conditional formatting with this? The reason I ask is because I wrote a little Macro thast "fixes" any and all numbers BUT it will take away any CF you may have. I need to redo the Macro so it does not do this. Save a copy and you can try to run it


    Please Login or Register  to view this content.
    Last edited by Larbec; 09-21-2015 at 10:19 AM.

  7. #7
    Forum Contributor
    Join Date
    11-18-2014
    Location
    England
    MS-Off Ver
    365
    Posts
    132

    Re: copy and paste special and delimiters

    Hi I am a bit rubbish with Macros and when I ran this one o my data it changed all the percentages I had in one column to either 100% or 0%. Not sure if I did something wrong!

  8. #8
    Forum Contributor
    Join Date
    03-31-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: copy and paste special and delimiters

    Quote Originally Posted by moneypennie21 View Post
    Hi I am a bit rubbish with Macros and when I ran this one o my data it changed all the percentages I had in one column to either 100% or 0%. Not sure if I did something wrong!
    I'm not ran with % in cells before. You would high light the area(s) you want ran and then run the Macro. Hopefully you saved a back up copy. Thus may not do the trick

    Can you upload a sample? Perhaps others can chime in to help with more experience than I.

    Try this in an unused cell
    =ISNUMBER(Xxxx). Xxxx is any of your column and row numbers like A:1
    That formula will return FALSE if you have text in the cell.


    If you only have a numeric value it will return TRUE

+ 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. disable copy/cut/paste/paste special in excel 2010
    By Alina Loredana in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-22-2014, 06:43 PM
  2. copy formula and paste for new data added and autofill.....and paste special values
    By prabhuduraraj09 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-13-2014, 07:40 AM
  3. [SOLVED] Simple copy and paste macro- Paste special help needed.
    By hernancrespo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2012, 07:02 AM
  4. Replies: 1
    Last Post: 10-01-2012, 11:11 PM
  5. Replies: 2
    Last Post: 03-27-2012, 02:49 PM
  6. help w/ generic copy & paste/paste special routine
    By DavidH in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-23-2006, 12:00 AM
  7. [SOLVED] Can't Copy and Paste or Paste Special between Excel Workbooks
    By wllee in forum Excel General
    Replies: 6
    Last Post: 04-05-2005, 03:06 PM

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