Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2006

Tip: Looking for answers? Try searching our database.

Formula Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kat - 29 Sep 2006 15:58 GMT
I have an excel sheet that has almost 4000 data rows.  I need to compare the
old sheet to the new sheet and if the part number is equal, I need it to
show me the discount from the old sheet in a column in the new sheet.

Here is the formula I came up with: =LOOKUP(A4,old!A4:A4000,old!H4:H4000)
This compares the A column in the new sheet with the A column in the old
sheet and then will report the discount from the H column into the column
the formula is written.  If I hand type the formula in ever cell changing
the row number for the look up cell it works fine.  However, when I try to
drag the formula to all 3996 cells, all numbers in the formula add one and
then the formula doesn't work.

How can I enter this formula so that just the beginning cell number changes
but not the rest? Or is there a better formula?

What might I be doing wrong?

Kathy in WI
Dave Peterson - 29 Sep 2006 16:16 GMT
Maybe you want:

=LOOKUP(A4,old!$A$4:$A$4000,old!$H$4:$H$4000)

> I have an excel sheet that has almost 4000 data rows.  I need to compare the
> old sheet to the new sheet and if the part number is equal, I need it to
[quoted text clipped - 14 lines]
>
> Kathy in WI

Signature

Dave Peterson

Kat - 29 Sep 2006 17:19 GMT
Thank you that did the trick.  My next problem...   =)

I now have the discount amount on the new sheet, however some of the new
prices don't actually reflect a price it has a code in the cell which means
call the factory for price.  So when I multiply the new price with the
discount, some field reflect an error that reads "#VALUE!" is there anyway
to include in the  formula "=G6*H6" that if a dollar amount is not reached
the the cell remains blank instead of the #VALUE! error?

Thanks!

Kathy

> Maybe you want:
>
[quoted text clipped - 22 lines]
>>
>> Kathy in WI
glenton - 29 Sep 2006 19:03 GMT
You could try

=IF(ISERROR(G6*H6),"",G6*H6)

Signature

Glenton
www.leviqqio.com
Quality financial modelling

> Thank you that did the trick.  My next problem...   =)
>
[quoted text clipped - 35 lines]
> >>
> >> Kathy in WI

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.