Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
BB
 
Posts: n/a
Default copy subtotal value only, subtotal value can be vlookup by others

I did copy subtotal value only by edit/go to/ special/visiable cell to the
sheet A. It shown part no. 31611 Total - qty 114. Then I did "find" replace
"Total" with blank field, so I can get part no. only. = part no. 31611 , qty
114 - they both on 2 different column.

Now I can't Vlookup these 2 column data. I need vlookup qty column. It
shown "#N/A" when I loopup qty column. Is this text / number issue? How can
loopup value from subtotal result?


  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default copy subtotal value only, subtotal value can be vlookup by others

Maybe you should change " total" instead (with leading spaces).

And if you enter your part numbers as text (preformat the cell as Text or enter
with a leading apostrophe), then the edit|replace will change the Text values to
numbers.

(You'll see that the leading 0's are lost after you do that edit|Replace.)

You can change your =vlookup() to something like:

=vlookup(--a2,sheet2!a:b,2,false)

The -- coerces text numbers to number numbers so that it'll match the values in
the first column of the lookup table.

But you may want to invest a bit of time with data|pivottable. You'll find that
you'll be able to build that table a bit easier (after the learning curve) and
the text numbers will be kept as text numbers (no need to get rid of the "total
" stuff.

If you want to read more about pivottables...

Here are a few links:

Debra Dalgleish's pictures at Jon Peltier's site:
http://peltiertech.com/Excel/Pivots/pivottables.htm
And Debra's own site:
http://www.contextures.com/xlPivot01.html

John Walkenbach also has some at:
http://j-walk.com/ss/excel/files/general.htm
(look for Tony Gwynn's Hit Database)

Chip Pearson keeps Harald Staff's notes at:
http://www.cpearson.com/excel/pivots.htm

MS has some at (xl2000 and xl2002):
http://office.microsoft.com/downloads/2000/XCrtPiv.aspx
http://office.microsoft.com/assistan...lconPT101.aspx

BB wrote:

I did copy subtotal value only by edit/go to/ special/visiable cell to the
sheet A. It shown part no. 31611 Total - qty 114. Then I did "find" replace
"Total" with blank field, so I can get part no. only. = part no. 31611 , qty
114 - they both on 2 different column.

Now I can't Vlookup these 2 column data. I need vlookup qty column. It
shown "#N/A" when I loopup qty column. Is this text / number issue? How can
loopup value from subtotal result?


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup error with subtotal El Bee Excel Worksheet Functions 0 January 25th 06 06:00 PM
Can not copy a worksheet to another workbook cyndi Excel Discussion (Misc queries) 2 November 10th 05 06:50 PM
Copy VLookup Values Karen Excel Worksheet Functions 3 July 12th 05 04:50 PM
reminder notifications in a column L Mieth Excel Discussion (Misc queries) 6 June 10th 05 11:00 AM
Excel won't copy outside sheet Jack Sons Excel Discussion (Misc queries) 6 May 17th 05 10:05 PM


All times are GMT +1. The time now is 04:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"