PC Review


Reply
Thread Tools Rate Thread

cell updating question

 
 
aj_gabby@yahoo.com
Guest
Posts: n/a
 
      16th Nov 2006
Sorry know this is pretty basic stuff here I think. I have a formated
price sheet called sheet A which consists of product names and a
pricing table for each product. the layout for a few products is like
this; product A8, sizes C11-14 and price E11-14, Product A17, sizes
C20-25, price E20-25.
On sheet B you have 3 columns, Product A1-200, Sizes B1-200, Prices
C1-200. This sheet changes on a regular bases and can vary in size. Is
it possible to update Sheet A prices with a Vlookup in this situation
or what can I use to make this work in excel. Any input would be great.
I am pretty new to this.

Thanks for your help

 
Reply With Quote
 
 
 
 
Tom James
Guest
Posts: n/a
 
      17th Nov 2006
I notice your question got passed up. I think the reason for this is because
it's so unclear. I read it a couple of times and I can't understand your
explanation.

If you still need help, you may want to rewrite your request, make it as
clear as possible, be accurate with your descriptions of cell ranges, etc.
and repost it.

Good luck!

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Sorry know this is pretty basic stuff here I think. I have a formated
> price sheet called sheet A which consists of product names and a
> pricing table for each product. the layout for a few products is like
> this; product A8, sizes C11-14 and price E11-14, Product A17, sizes
> C20-25, price E20-25.
> On sheet B you have 3 columns, Product A1-200, Sizes B1-200, Prices
> C1-200. This sheet changes on a regular bases and can vary in size. Is
> it possible to update Sheet A prices with a Vlookup in this situation
> or what can I use to make this work in excel. Any input would be great.
> I am pretty new to this.
>
> Thanks for your help
>



 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      20th Nov 2006
Here's a dig at it, posted in response to your multi-post in
..worksheetfunctions
(Pl do not multi-post)

Assuming you have ..

In sheet: B, cols A to C, data from row 2 to 100 (say)

Product Size Price
A1 B1 C1
A1 B2 C2
A2 B1 C3
A2 B2 C4
etc

And in sheet: A,
you have a similar set-up

Product Size Price
A1 B1 ?
A2 B2 ?
etc

Put in the formula bar for C2, then array-enter** the formula by
pressing CTRL+SHIFT+ENTER [CSE] (instead of just pressing ENTER):
=IF(OR(A2="",B2=""),"",INDEX(B!$C$2:$C$100,MATCH(1,(B!$A$2:$A$100=A2)*(B!$B$2:$B$100=B2),0)))
Copy C2 down to return the required results. Adapt the ranges to suit.

**Correctly array-entered, Excel will wrap curly braces: { } around
theformula in C2. Visually check that these braces are inserted by Excel
within the formula bar after you array enter. If you don't see it, then the
formula has not been correctly array-entered and you'd get wrong
results. If so, click inside the formula bar, and try the CSE again.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Sorry know this is pretty basic stuff here I think. I have a formated
> price sheet called sheet A which consists of product names and a
> pricing table for each product. the layout for a few products is like
> this; product A8, sizes C11-14 and price E11-14, Product A17, sizes
> C20-25, price E20-25.
> On sheet B you have 3 columns, Product A1-200, Sizes B1-200, Prices
> C1-200. This sheet changes on a regular bases and can vary in size. Is
> it possible to update Sheet A prices with a Vlookup in this situation
> or what can I use to make this work in excel. Any input would be great.
> I am pretty new to this.
>
> Thanks for your help
>



 
Reply With Quote
 
aj_gabby@yahoo.com
Guest
Posts: n/a
 
      21st Nov 2006
Max,
> I appreciate the response. Your assumption is correct on sheet B.
>But sheet A. is in a formated layout like
>below. A different product labeled every 10 to 15 cells below.
> So will have to adjust the ranges for each product. Played around w/formula posted but
> cant get it to work right.
>
>
> In sheet: B, cols A to C, data from row 2 to 100 (say)
>
> Product Size Price
> A1 B1 C1
> A1 B2 C2
> A2 B1 C3
> A2 B2 C4
> etc
>
> And in sheet: A,
> I have a set up like this

U V
Product Size Price Price
> A B C D E
> 1 A1
> 2
> 3
> 4 C1 D1 ?
> 5 C2 D2 ?
> 6 C3 D3 ?
> 7 C4 D4 ?
> 8
> 9
>10 A2

etc

 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      22nd Nov 2006
>>But sheet A. is in a formated layout like
>>below. A different product labeled every 10 to 15 cells below.


Believe the crux problem you faced in adapting the formula here is that the
product col is not populated all the way down, only at each new product
break.

To populate the product col right down,
try the methods described in either of these 2 excellent pages by

David McRitchie:
http://www.mvps.org/dmcritchie/excel/fillempt.htm
Fill in the Empty Cells

Debra Dalgleish:
http://www.contextures.com/xlDataEntry02.html
Excel -- Data Entry -- Fill Blank Cells
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Max,
>> I appreciate the response. Your assumption is correct on sheet B.
>>But sheet A. is in a formated layout like
>>below. A different product labeled every 10 to 15 cells below.
>> So will have to adjust the ranges for each product. Played around
>> w/formula posted but
>> cant get it to work right.
>>
>>
>> In sheet: B, cols A to C, data from row 2 to 100 (say)
>>
>> Product Size Price
>> A1 B1 C1
>> A1 B2 C2
>> A2 B1 C3
>> A2 B2 C4
>> etc
>>
>> And in sheet: A,
>> I have a set up like this

> U V
> Product Size Price Price
>> A B C D E
>> 1 A1
>> 2
>> 3
>> 4 C1 D1 ?
>> 5 C2 D2 ?
>> 6 C3 D3 ?
>> 7 C4 D4 ?
>> 8
>> 9
>>10 A2

> etc
>



 
Reply With Quote
 
aj_gabby
Guest
Posts: n/a
 
      22nd Nov 2006
That would work fine for me but there are objects linked under the
product cell in sheet A . What if I made a new column 'G' with the
product filled in and hide the value in the cell but viewable in the
formula bar. Would your formula work with this. Also where do the
sheet names come to play in your formula. For readability can we call
sheet A= AT. and Sheet B.= BT. Thank you

> >>Sheet AT

> > U V
> > Product Size Price Price Product w/hidden value
> >> A B C D E F G
> >> 1 A1
> >> 2
> >> 3
> >> 4 C1 D1 ? G1
> >> 5 C2 D2 ? G2
> >> 6 C3 D3 ? G3
> >> 7 C4 D4 ? G4
> >> 8
> >> 9
> >>10 A2

> > etc
> >


Max wrote:
> >>But sheet A. is in a formated layout like
> >>below. A different product labeled every 10 to 15 cells below.

>
> Believe the crux problem you faced in adapting the formula here is that the
> product col is not populated all the way down, only at each new product
> break.
>
> To populate the product col right down,
> try the methods described in either of these 2 excellent pages by
>
> David McRitchie:
> http://www.mvps.org/dmcritchie/excel/fillempt.htm
> Fill in the Empty Cells
>
> Debra Dalgleish:
> http://www.contextures.com/xlDataEntry02.html
> Excel -- Data Entry -- Fill Blank Cells
> --
> Max
> Singapore
> http://savefile.com/projects/236895
> xdemechanik
> ---
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Max,
> >> I appreciate the response. Your assumption is correct on sheet B.
> >>But sheet A. is in a formated layout like
> >>below. A different product labeled every 10 to 15 cells below.
> >> So will have to adjust the ranges for each product. Played around
> >> w/formula posted but
> >> cant get it to work right.
> >>
> >>
> >> In sheet: B, cols A to C, data from row 2 to 100 (say)
> >>
> >> Product Size Price
> >> A1 B1 C1
> >> A1 B2 C2
> >> A2 B1 C3
> >> A2 B2 C4
> >> etc
> >>
> >> And in sheet: A,
> >> I have a set up like this

> > U V
> > Product Size Price Price
> >> A B C D E
> >> 1 A1
> >> 2
> >> 3
> >> 4 C1 D1 ?
> >> 5 C2 D2 ?
> >> 6 C3 D3 ?
> >> 7 C4 D4 ?
> >> 8
> >> 9
> >>10 A2

> > etc
> >


 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      22nd Nov 2006
"aj_gabby" wrote:
> That would work fine for me but there are objects linked under the
> product cell in sheet A .


> What if I made a new column 'G' with the
> product filled in and hide the value in the cell but viewable in the
> formula bar. Would your formula work with this.


Yes, of course. Just adapt it to point to col G instead of col A

> Also where do the
> sheet names come to play in your formula. For readability can we call
> sheet A= AT. and Sheet B.= BT.


Earlier, in the example, we had:
In sheet: A,
In C2, array-entered:
=IF(OR(A2="",B2=""),"",INDEX(B!$C$2:$C$100,MATCH(1,(B!$A$2:$A$100=A2)*(B!$B$2:$B$100=B2),0)))

Now, in sheet: AT,
assuming the "new" product col = col G, Size col = col C, "new" price col =
col V (?)

Place in V2, and array-enter [CSE]:
=IF(OR(G2="",C2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G2)*(BT!$B$2:$B$100=C2),0)))
Copy V2 down

As before, the set up assumed in sheet: BT
that col A = product, col B = size, col C = price
(you said that my assumption was correct)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


 
Reply With Quote
 
aj_gabby
Guest
Posts: n/a
 
      14th Dec 2006
The following formula works fine in colum V sheet AT

in sheet: AT,
product col = col G, Size col = col C, price col = col V
in sheet: BT
product col = col A , size col = col B, price col = col C

=IF(OR(G2="",C2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G2)*(BT!$B$2:$B$100=C2),0)))

I needed to add another search criteria to this formula
in sheet: AT,
product col = col G, Size col = col C, price col = col V, Length col
= col H
in sheet: BT
product col = col A , size col = col B, price col = col C, Length col
=col D

I added this to the formula and can not get it to work

=IF(OR(G2="",C2="",H2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G2)*(BT!$B$2:$B$100=C2)*(BT!$D$2:$D$100=H2),0)))

Any suggestions what I did wrong ?
aj_gabby



Max wrote:
> "aj_gabby" wrote:
> > That would work fine for me but there are objects linked under the
> > product cell in sheet A .

>
> > What if I made a new column 'G' with the
> > product filled in and hide the value in the cell but viewable in the
> > formula bar. Would your formula work with this.

>
> Yes, of course. Just adapt it to point to col G instead of col A
>
> > Also where do the
> > sheet names come to play in your formula. For readability can we call
> > sheet A= AT. and Sheet B.= BT.

>
> Earlier, in the example, we had:
> In sheet: A,
> In C2, array-entered:
> =IF(OR(A2="",B2=""),"",INDEX(B!$C$2:$C$100,MATCH(1,(B!$A$2:$A$100=A2)*(B!$B$2:$B$100=B2),0)))
>
> Now, in sheet: AT,
> assuming the "new" product col = col G, Size col = col C, "new" price col =
> col V (?)
>
> Place in V2, and array-enter [CSE]:
> =IF(OR(G2="",C2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G2)*(BT!$B$2:$B$100=C2),0)))
> Copy V2 down
>
> As before, the set up assumed in sheet: BT
> that col A = product, col B = size, col C = price
> (you said that my assumption was correct)
> --
> Max
> Singapore
> http://savefile.com/projects/236895
> xdemechanik
> ---


 
Reply With Quote
 
=?Utf-8?B?TWF4?=
Guest
Posts: n/a
 
      14th Dec 2006
>
=IF(OR(G2="",C2="",H2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G2)*(BT!$B$2:$B$100=C2)*(BT!$D$2:$D$100=H2),0)))

It looks ok. Did you array-enter it with CTRL+SHIFT+ENTER?
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"aj_gabby" wrote:
> The following formula works fine in colum V sheet AT
>
> in sheet: AT,
> product col = col G, Size col = col C, price col = col V
> in sheet: BT
> product col = col A , size col = col B, price col = col C
>
> =IF(OR(G2="",C2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G2)*(BT!$B$2:$B$100=C2),0)))
>
> I needed to add another search criteria to this formula
> in sheet: AT,
> product col = col G, Size col = col C, price col = col V, Length col
> = col H
> in sheet: BT
> product col = col A , size col = col B, price col = col C, Length col
> =col D
>
> I added this to the formula and can not get it to work
>
> =IF(OR(G2="",C2="",H2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G2)*(BT!$B$2:$B$100=C2)*(BT!$D$2:$D$100=H2),0)))
>
> Any suggestions what I did wrong ?
> aj_gabby


 
Reply With Quote
 
aj_gabby
Guest
Posts: n/a
 
      31st Jan 2007
I have been using this formula for a while and it works great. I just
recently ran into a problem. When I tried to use numerics in C colum
and H colum with attributes (15.8) I get NA# in the cell the formula
is in. Is there a limitation to what attributes a value can have? Is
there some type of work around for this to work properly?

{=IF(OR(G2="",C2="",H2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A
$100=G*2)*(BT!$B$2:$B$100=C2)*(BT!$D$2:$D$100=H2),0)))}

aj_gabby

On Dec 14 2006, 3:15 am, Max <demecha...@yahoo.com> wrote:
> =IF(OR(G2="",C2="",H2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G*2)*(BT!$B$2:$B$100=C2)*(BT!$D$2:$D$100=H2),0)))
>
> It looks ok. Did you array-enter it with CTRL+SHIFT+ENTER?
> --
> Max
> Singaporehttp://savefile.com/projects/236895
> xdemechanik
> ---
>
>
>
> "aj_gabby" wrote:
> > The following formula works fine in colum V sheet AT

>
> > in sheet: AT,
> > product col = col G, Size col = col C, price col = col V
> > in sheet: BT
> > product col = col A , size col = col B, price col = col C

>
> > =IF(OR(G2="",C2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G2)*(BT*!$B$2:$B$100=C2),0)))

>
> > I needed to add another search criteria to this formula
> > in sheet: AT,
> > product col = col G, Size col = col C, price col = col V, Length col
> > = col H
> > in sheet: BT
> > product col = col A , size col = col B, price col = col C, Length col
> > =col D

>
> > I added this to the formula and can not get it to work

>
> > =IF(OR(G2="",C2="",H2=""),"",INDEX(BT!$C$2:$C$100,MATCH(1,(BT!$A$2:$A$100=G*2)*(BT!$B$2:$B$100=C2)*(BT!$D$2:$D$100=H2),0)))

>
> > Any suggestions what I did wrong ?
> > aj_gabby- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating Cell With Other Cell Information =?Utf-8?B?TGVl?= Microsoft Excel Misc 0 26th Oct 2006 12:51 AM
Updating the Sum of a cell =?Utf-8?B?VGVkZHk1NA==?= Microsoft Excel Worksheet Functions 2 18th Nov 2005 09:12 PM
Copy cell down with automatic updating from cell above raehippychick Microsoft Excel New Users 1 30th Apr 2004 12:56 PM
Question: Cell formula or macro to write result of one cell to another cell Frederik Romanov Microsoft Excel Misc 1 8th Jul 2003 03:03 PM
Question: Cell formula or macro to write result of one cell to another cell Frederik Romanov Microsoft Excel Programming 1 8th Jul 2003 03:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:58 AM.