PC Review


Reply
Thread Tools Rate Thread

Adding 2 cells together and paste into 1 cell

 
 
=?Utf-8?B?U3RldmVk?=
Guest
Posts: n/a
 
      28th Jun 2006
Hello from Steved

In a Worksheet called 1st Week in Col "A" I have "City" and "Panmure", and
in Col "B" to Col "H" I have Data.

I would like the formula to find City in Col "A" ( 1st Week ) then From the
second Col "B" ( 1st Week ) capture the data from that cell, then find
Panmure in Col "A" ( 1st Week ) then From the second Col "B" ( 1st Week )
capture the data from that cell, and now paste the Captured Data in worksheet
Called Summary.

Thankyou
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9wcGVycw==?=
Guest
Posts: n/a
 
      28th Jun 2006
I wasn't quite sure if this is what you want but this will sum all data in
column B where column A has "City" or "Panmure".

Insert in cell in Summary.

=SUMPRODUCT(('1st Week'!A2:A5={"City","Panmure"})*('1st Week'!B2:B5))

"Steved" wrote:

> Hello from Steved
>
> In a Worksheet called 1st Week in Col "A" I have "City" and "Panmure", and
> in Col "B" to Col "H" I have Data.
>
> I would like the formula to find City in Col "A" ( 1st Week ) then From the
> second Col "B" ( 1st Week ) capture the data from that cell, then find
> Panmure in Col "A" ( 1st Week ) then From the second Col "B" ( 1st Week )
> capture the data from that cell, and now paste the Captured Data in worksheet
> Called Summary.
>
> Thankyou

 
Reply With Quote
 
=?Utf-8?B?U3RldmVk?=
Guest
Posts: n/a
 
      28th Jun 2006
Hello from Steved

The below is giving me a #VALUE!

=SUMPRODUCT(('1st Week'!A1:A2000={"City","Panmure"})*('1st Week'!B1:B2000))

Any idea's please as to what might be.

Thankyou.



"Toppers" wrote:

> I wasn't quite sure if this is what you want but this will sum all data in
> column B where column A has "City" or "Panmure".
>
> Insert in cell in Summary.
>
> =SUMPRODUCT(('1st Week'!A2:A5={"City","Panmure"})*('1st Week'!B2:B5))
>
> "Steved" wrote:
>
> > Hello from Steved
> >
> > In a Worksheet called 1st Week in Col "A" I have "City" and "Panmure", and
> > in Col "B" to Col "H" I have Data.
> >
> > I would like the formula to find City in Col "A" ( 1st Week ) then From the
> > second Col "B" ( 1st Week ) capture the data from that cell, then find
> > Panmure in Col "A" ( 1st Week ) then From the second Col "B" ( 1st Week )
> > capture the data from that cell, and now paste the Captured Data in worksheet
> > Called Summary.
> >
> > Thankyou

 
Reply With Quote
 
=?Utf-8?B?R3JlZyBXaWxzb24=?=
Guest
Posts: n/a
 
      29th Jun 2006
Toppers' formula works for me. The most likely cause of the #Value error with
your formula is having text in column B. There need only be a single cell
containing text in B1:B2000.

Regards,
Greg

"Steved" wrote:

> Hello from Steved
>
> The below is giving me a #VALUE!
>
> =SUMPRODUCT(('1st Week'!A1:A2000={"City","Panmure"})*('1st Week'!B1:B2000))
>
> Any idea's please as to what might be.
>
> Thankyou.
>
>
>
> "Toppers" wrote:
>
> > I wasn't quite sure if this is what you want but this will sum all data in
> > column B where column A has "City" or "Panmure".
> >
> > Insert in cell in Summary.
> >
> > =SUMPRODUCT(('1st Week'!A2:A5={"City","Panmure"})*('1st Week'!B2:B5))
> >
> > "Steved" wrote:
> >
> > > Hello from Steved
> > >
> > > In a Worksheet called 1st Week in Col "A" I have "City" and "Panmure", and
> > > in Col "B" to Col "H" I have Data.
> > >
> > > I would like the formula to find City in Col "A" ( 1st Week ) then From the
> > > second Col "B" ( 1st Week ) capture the data from that cell, then find
> > > Panmure in Col "A" ( 1st Week ) then From the second Col "B" ( 1st Week )
> > > capture the data from that cell, and now paste the Captured Data in worksheet
> > > Called Summary.
> > >
> > > Thankyou

 
Reply With Quote
 
=?Utf-8?B?U3RldmVk?=
Guest
Posts: n/a
 
      29th Jun 2006
Thanks Greg

"Greg Wilson" wrote:

> Toppers' formula works for me. The most likely cause of the #Value error with
> your formula is having text in column B. There need only be a single cell
> containing text in B1:B2000.
>
> Regards,
> Greg
>
> "Steved" wrote:
>
> > Hello from Steved
> >
> > The below is giving me a #VALUE!
> >
> > =SUMPRODUCT(('1st Week'!A1:A2000={"City","Panmure"})*('1st Week'!B1:B2000))
> >
> > Any idea's please as to what might be.
> >
> > Thankyou.
> >
> >
> >
> > "Toppers" wrote:
> >
> > > I wasn't quite sure if this is what you want but this will sum all data in
> > > column B where column A has "City" or "Panmure".
> > >
> > > Insert in cell in Summary.
> > >
> > > =SUMPRODUCT(('1st Week'!A2:A5={"City","Panmure"})*('1st Week'!B2:B5))
> > >
> > > "Steved" wrote:
> > >
> > > > Hello from Steved
> > > >
> > > > In a Worksheet called 1st Week in Col "A" I have "City" and "Panmure", and
> > > > in Col "B" to Col "H" I have Data.
> > > >
> > > > I would like the formula to find City in Col "A" ( 1st Week ) then From the
> > > > second Col "B" ( 1st Week ) capture the data from that cell, then find
> > > > Panmure in Col "A" ( 1st Week ) then From the second Col "B" ( 1st Week )
> > > > capture the data from that cell, and now paste the Captured Data in worksheet
> > > > Called Summary.
> > > >
> > > > Thankyou

 
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
Using a macro to paste cells one cell below the last cell. Magnus HB Microsoft Excel Programming 5 22nd Apr 2009 12:20 PM
RE: Cut & Paste cells into another sheet with cell change Manda Microsoft Excel Misc 0 31st Mar 2009 02:16 PM
Cut & Paste cells into another sheet with cell change Manda Microsoft Excel Misc 3 31st Mar 2009 02:06 PM
How can I copy a value from a cell and paste it into another cell while adding it to the previous value in that cell suyash.nathani@gmail.com Microsoft Excel Worksheet Functions 2 7th Nov 2007 09:39 AM
How to paste COUNTIF function from cell to cells ? =?Utf-8?B?QXJuYXVkIFBlbnZlcm5lIChmcmFuY2Up?= Microsoft Excel Worksheet Functions 1 30th Dec 2005 06:27 PM


Features
 

Advertising
 

Newsgroups
 


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