LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Harlan Grove
 
Posts: n/a
Default Array formula

gordo wrote...
....
=IF($P20=1,IF($D20="",MAX('C:\unzipped\cycle\[cycle counts
sep2005.xls]Recounted SKU''s'!$F$2:$F$400*IF('C:\unzipped\cycle\[cycle
counts sep2005.xls]Recounted SKU''s'!$A$2:$A$400=B20,1,0))))

the purpose of the formula above is to bring back the last qty of a sku
that has been counted, however this only works if the last qty is more
than the previous, so for example:

....

If you want the last quantity for a given SKU, you need a lookup of
some sort rather than a MAX call. If your table were sorted in
ascending order by date, SKUs were in column A and units sold in column
F, then it could look something like

=IF($P20=1,IF($D20="",LOOKUP(2,1/('<whatever'!$A$2:$A$400=B20),
'<whatever'!$F$2:$F$400),""),"")

 
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
array formula Jonathan Cooper Excel Discussion (Misc queries) 4 September 9th 05 12:27 PM
#VALUE! On An Array Formula Referencing a Range Outside The Workbo paige Excel Discussion (Misc queries) 5 September 9th 05 12:05 AM
problem with Array Formula OrdOff Excel Worksheet Functions 2 June 30th 05 04:57 PM
Trouble shooting#NA error in Array formula RonR Excel Discussion (Misc queries) 2 June 14th 05 09:58 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 04:15 AM.

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

About Us

"It's about Microsoft Excel"