PC Review


Reply
Thread Tools Rate Thread

copy formula

 
 
Jafferi
Guest
Posts: n/a
 
      16th Apr 2010
In Sheet a, i have these info

Employee Number hiring date
122555 apr 5, 2010
152666 apr 4, 2010
123554 apr 4, 2010
451225 apr 5, 2010

In Sheet b, i need this info (that pulls from Sheet a)

Employee Number hiring date
122555 apr 5, 2010
451225 apr 5, 2010

How can I do a formula in Sheet b that will pull all the data from sheet a
for a specific date e.g. apr 5, 2010.
 
Reply With Quote
 
 
 
 
ozgrid.com
Guest
Posts: n/a
 
      16th Apr 2010
VLOOKUP
http://www.ozgrid.com/Excel/excel-vlookup-formula.htm
Or INDEX/MATCH
http://www.ozgrid.com/Excel/left-lookup.htm




--
Regards
Dave Hawley
www.ozgrid.com



"Jafferi" <(E-Mail Removed)> wrote in message
news:CD610F36-C6F4-4F59-867E-(E-Mail Removed)...
> In Sheet a, i have these info
>
> Employee Number hiring date
> 122555 apr 5, 2010
> 152666 apr 4, 2010
> 123554 apr 4, 2010
> 451225 apr 5, 2010
>
> In Sheet b, i need this info (that pulls from Sheet a)
>
> Employee Number hiring date
> 122555 apr 5, 2010
> 451225 apr 5, 2010
>
> How can I do a formula in Sheet b that will pull all the data from sheet a
> for a specific date e.g. apr 5, 2010.


 
Reply With Quote
 
L. Howard Kittle
Guest
Posts: n/a
 
      16th Apr 2010
Try VLOOKUP with a formula that looks like this in sheet B.

=VLOOKUP(F1,A!A1:B4,2,0)

Where F1 is the lookup value on sheet B and A!A1:B4 is the table_array on
sheet A.

HTH
Regards,
Howard


"Jafferi" <(E-Mail Removed)> wrote in message
news:CD610F36-C6F4-4F59-867E-(E-Mail Removed)...
> In Sheet a, i have these info
>
> Employee Number hiring date
> 122555 apr 5, 2010
> 152666 apr 4, 2010
> 123554 apr 4, 2010
> 451225 apr 5, 2010
>
> In Sheet b, i need this info (that pulls from Sheet a)
>
> Employee Number hiring date
> 122555 apr 5, 2010
> 451225 apr 5, 2010
>
> How can I do a formula in Sheet b that will pull all the data from sheet a
> for a specific date e.g. apr 5, 2010.



 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      16th Apr 2010
Hi Jafferi

With the query date in Sheet2 cell C1 apply the below formula in cell A2 and
copy down/across as required. Please note that this is an array formula. You
create array formulas in the same way that you create other formulas, except
you press CTRL+SHIFT+ENTER to enter the formula. If successful in 'Formula
Bar' you can notice the curly braces at both ends like "{=<formula>}"

=IF(COUNTIF(Sheet1!$B$1:$B$1000,$C$1)<ROW($A1),"",
INDEX(Sheet1!A$1:A$1000,SMALL(IF(Sheet1!$B$1:$B$1000=$C$1,
ROW($A$1:$A$1000)),ROW($A1))))


The result would look like for the query date in cell C1. Dont miss to
format column B to a date format of your choice

Col A Col B Col C
EmpNum HireDate 4-Apr-10
152666 4-Apr-10
123554 4-Apr-10


--
Jacob (MVP - Excel)


"Jafferi" wrote:

> In Sheet a, i have these info
>
> Employee Number hiring date
> 122555 apr 5, 2010
> 152666 apr 4, 2010
> 123554 apr 4, 2010
> 451225 apr 5, 2010
>
> In Sheet b, i need this info (that pulls from Sheet a)
>
> Employee Number hiring date
> 122555 apr 5, 2010
> 451225 apr 5, 2010
>
> How can I do a formula in Sheet b that will pull all the data from sheet a
> for a specific date e.g. apr 5, 2010.

 
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
Excel formula to copy/paste formula needed please. colwyn Microsoft Excel Misc 4 22nd Oct 2008 11:27 PM
copy formula result (text) only - without copying formula Mulberry Microsoft Excel Misc 2 2nd Oct 2008 09:51 AM
I copy a formula and the results copy from the original cell =?Utf-8?B?YnJvb2tseW5zZA==?= Microsoft Excel Misc 1 23rd Jun 2007 01:35 AM
copy formula down a column and have cell references change within formula brad Microsoft Excel New Users 5 13th May 2007 04:38 PM
Copy/Paste how to avoid the copy of formula cells w/o calc values =?Utf-8?B?RGVubmlz?= Microsoft Excel Misc 10 2nd Mar 2006 10:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:18 AM.