Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Transfering data from one spreadsheet to another.

One more question. If a certain charge does not apply to a load it returns
#N/A. Is there a way to set the formula to return $0? For instance in my
example above if load 12346 does not have a fuel charge applied, I would like
the formula to return $0.

"TB@work" wrote:

Sorry this took so long but this is perfect. Thanks.

"JBeaucaire" wrote:

Non-macro method.

--A-------B-------------C---------D
Load# Destination-----Desc.----Charges
12345 Columbus, OH----Fuel------$100
12345 Columbus, OH----Stop------$50
12345 Columbus, OH----Linehaul--$150

--H-----------I-----------J--------K-----L
Load#---Destination----Linehaul--Stop---Fuel
12345---Columbus, OH-----150------50-----100



H2: enter the load # (or use ADV FILTER to copy all the unique load numbers
to the H column all at once)

I2:=INDEX($B$2:$B$4, MATCH($H2, $A$2:$A$4, 0))

J2: =INDEX($D$2:$D$4, MATCH($H2&J$1, INDEX($A$2:$A$4&$C$2:$C$4, 0), 0))

Copy J2 across two columns and all load $ will appear.
Copy I2:L2 down for as many loads as you have.
--
"Actually, I *am* a rocket scientist." -- JB
(www.MadRocketScientist.com)

Your feedback is appreciated, click YES if this post helped you.


"TB@work" wrote:

I have a spreadsheet that is created by a program I use at work. I run this
report weekly and there are hundreds of loads each week. The spreadsheet has
the info I need but not in the right format. I need to know if there is a
way to pull this info into another spreadsheet in the format I am looking for
without a bunch of copying and pasteing. He is an example of what the report
looks like

Load# Destination Charge Desc. Charges
Total
12345 Columbus, OH Fuel $100
$300
12345 Columbus, OH Stop $50
$300
12345 Columbus, OH Linehaul $150
$300

It gives multiple rows of info to display the charges within the load. I
need to it to be 1 column with the charges listed across seperat columns
instead of seperate rows. This is what I need it to look like.

Load# Destination Linehual Stop Fuel
Total
12345 Columbus, OH $150 $50 $100
$300

Thanks for your help.

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
Transfering data tofimoon4[_14_] Excel Programming 13 May 26th 09 01:27 PM
Transfering spreadsheet data to a master spredsheet. schottgun Excel Programming 1 November 15th 07 04:01 AM
transfering data from word form to an existing spreadsheet Jose Excel Discussion (Misc queries) 1 October 15th 07 07:56 PM
transfering all data. shital shah Excel Programming 2 May 4th 06 12:31 PM
transfering data pisanichris[_2_] Excel Programming 1 October 15th 05 09:18 PM


All times are GMT +1. The time now is 02:34 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"