+ Reply to Thread
Results 1 to 2 of 2

Thread: Sheet Map

  1. #1
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,778

    Sheet Map

    The attachment generates a new worksheet that maps the contents of the active sheet by cell type:

    @ for literal text
    N for a literal number
    n for a number stored as text
    B for a literal Boolean
    F for a formula
    < for a formula the same as that at left
    ^ for a formula the same as that above
    + for a formula the same as those above and left

    Code goes in a code module, run SheetMap.

    I take no credit for conceiving this (and will credit whoever did if I find out), just the 15 minutes it took to write. It is minimally tested.

    Example output:

           A B C D E F G H I J K L M N O P Q R S T U V W X Y
       1       @                                            
       2                                                    
       3       @                           @ N @            
       4                                   @                
       5               @             @     @ @ @ @ @ @ @ @ @
       6   @   @ @ @   @ @   @ @ @   @ @   N N N N N N N N @
       7   F   @ F F   F <   @ F F   F F   F < < < < < < <  
       8   ^   @ ^ ^   ^ +   @ ^ ^   ^ ^   ^ + + + + + + +  
       9   ^   @ ^ ^   ^ +   @ ^ ^   ^ ^   ^ + + + + + + +  
      10   ^   @ ^ ^   ^ +   @ ^ ^   ^ ^   ^ + + + + + + +  
      11   ^   @ ^ ^   ^ +   @ ^ ^   ^ ^   ^ + + + + + + +  
      12   ^   @ ^ ^   ^ +   @ ^ ^   ^ ^   ^ + + + + + + +  
      13   ^   @ ^ ^   ^ +   @ ^ ^   ^ ^   ^ + + + + + + +
    EDIT: Maybe this does the same thing John Mote's Formula Mapper does (I haven't looked). Broro has posted it in http://www.excelforum.com/excel-gene...er-add-in.html.

    EDIT2: This one doesn't indicate dates stored as text. That should be fixed.
    Attached Files Attached Files
    Last edited by shg; 09-08-2010 at 12:09 PM.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,778

    Re: Sheet Map

    Modest improvements:

    '   @ for literal text
    
    '   # for a literal number                              (yellow if stored as text)
    
    '   B for a literal Boolean
    
    '   D for a Date                                        (yellow if stored as text)
    
    '   F for a formula                                     (red if error)
    '   < for a formula the same as that at left            (red if error)
    '   ^ for a formula the same as that above              (red if error)
    '   + for a formula the same as those above and left    (red if error)
    Attached Files Attached Files
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0