Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I get data from one cell based on the value in another?

Hello all,
My query is a little more in depth. I have two spread sheets one is named
Retail Price list and the other is named Home Accents.

In the Price List there are 5 columns of data, Item #, Page #, Short Desc,
Unit of Sale, Price

In the Home Accents there are 4 columns of data, Section Text, Product Ref#,
Page #, Short Desc, Long Desc.

Ok, the Product REF and Item # are the same data. The Short Desc is the
same data. All the rest of the fields are ignored.

In the Home Accents sheet the Short Desc is Blank and I would like it filled
with the data that is in Retail Price(Short Desc), I would need to compare
HomeAccess(ProductREF) with RetailPrice(Item) and if it matches, write the
data from RetailPrice(ShortDesc) to HomeAccess(ShortDesc). The trick here is
that neither spread sheet match row for row, and in some instances the
HomeAccess(ProductREF) is not contained in the RetailPrice at all, or it may
be contained a few lines down.

In VB I could write a routine that would read all the lines in from
HomeAccess and write them back out with the data from PriceList after doing a
INST and matching the ProductREF with Item#

Example of the data is
[SectText] [Item#] [Pg#] [Short Desc ] [Long Desc]
Home Accents 32439 2 Looking as though it came...

[Item#] [Pg#] [SHORT DESC] [UNIT]
[PRICE]
32439 2 15" PILLOWCASE W/CUSHION 1 EA 29.95

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
Clearing a cell based on the value of another cell (INDIRECT data) without macros Cosi About this forum 0 June 15th 10 03:30 PM
Changing Cell Background Color based on data from another cell Speedy Excel Discussion (Misc queries) 2 March 16th 09 04:10 PM
Lock data in a cell a specific cell based on selection on other ce CrimsonPlague29 Excel Worksheet Functions 0 May 10th 06 11:06 AM
How do I change cell color based upon data range within the cell? Chris Sanders Excel Worksheet Functions 1 March 6th 06 08:59 PM
How can I populate an Excel cell based on the data in another cell JerseyBoy Excel Worksheet Functions 3 September 30th 05 03:53 PM


All times are GMT +1. The time now is 09:01 PM.

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

About Us

"It's about Microsoft Excel"