Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default find max value in one field, return values in other fields in same row

I am attempting to do some report automation. I have several fields I am
pulling from SQL that I want to quickly find the highest foperno for a
current fjobno on a given fdate and fshift, and return teh fcompqty, fpartno
and fdate. Below are a couple columns of my data for clarification.
Ideally I want to write this in the SQL query so all the end user has to do
is open teh spreadsheet and VOILA! Any help would be GREATLY appreciated!

fcompqty fdate fjobno foperno fpro_id fshift fcdept fpartno
53 1/1/2008 0:00 I1DD9-0000 50 161-12 3 14 21405
53 1/1/2008 0:00 I1DD9-0000 60 162-12 3 14 21405
14 1/1/2008 0:00 I1E4I-0000 158 183-03 3 01 21322
14 1/1/2008 0:00 I1E4I-0000 159 192-03 1 01 21322
9 1/1/2008 0:00 I1E6A-0000 70 183-09 3 14 21408
17 1/1/2008 0:00 I1E8F-0000 50 163-06 3 01 20447
17 1/1/2008 0:00 I1E8F-0000 60 163-06 3 01 20447


Reply
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
How to find values in a list of text fields [email protected] Excel Worksheet Functions 4 June 10th 08 10:43 AM
copy field settings of a field to other fields in same pivot tbl new22007 Excel Worksheet Functions 0 May 8th 08 10:22 PM
Find and return multiple values BubbleGum Excel Worksheet Functions 2 November 22nd 06 06:36 AM
find largest values, then return corresponding row values. neurotypical Excel Discussion (Misc queries) 7 May 24th 06 10:27 PM
Find two values in worksheet to return one value Correna Excel Worksheet Functions 10 May 4th 06 10:22 PM


All times are GMT +1. The time now is 05:49 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"