Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2017, 05:35 AM
kwilson307 kwilson307 is offline Return Max Text or Number Value based on Criteria Windows 7 64bit Return Max Text or Number Value based on Criteria Office 2013
Novice
Return Max Text or Number Value based on Criteria
 
Join Date: Apr 2017
Posts: 1
kwilson307 is on a distinguished road
Default Return Max Text or Number Value based on Criteria

Hello,

I have a workbook with multiple sheets. I am trying to have my totals page populate newest information based on criteria from another sheet.

Sheet 1: Totals.

Tech#(A1)|R22 Drum# (B1)|Date Assigned (C1) | PO# (D1)| Date Signed Out (E1)
3202 (A2)
3225 (A3)
3236 (A4)

Sheet 2: R22_Batch. This is the sheet we enter person who has signed out a specific drum. The Drums contain letters (i.e. Z56)

Tech#(A1)| R22 Drum#(B1)|Date Assigned (C1)|PO#(D1)| Date Signed Out(E1)



Sheets 3, 4 & 5 are the same, just a different Drum Types (410-A, PD, & Unique number values.

I need Sheet 1 to reference Sheets 2-5 and populate the newest information as it is updated automatically. The drums are not assigned in order. We may sign out Z01, then Z07, then Z25 . We do have the drums pre-listed in order. I have attached a small sample for visual.

What is the best way to achieve this?
Attached Files
File Type: xlsx Ref_Batch_Log_Forum_V1.xlsx (14.9 KB, 11 views)
Reply With Quote
  #2  
Old 04-20-2017, 05:07 AM
NBVC's Avatar
NBVC NBVC is offline Return Max Text or Number Value based on Criteria Windows 7 64bit Return Max Text or Number Value based on Criteria Office 2007
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

For example, for R22_Batch, start by getting latest date...

So in column E2 try array formula:

=MAX(IF('R22_BATCH'!$A$2:$A$14=A2,'R22_BATCH'!$E$2 :$E$14))

confirmed with CTRL+SHIFT+ENTER not just ENTER and copied down.

You may have to format as date... use custom format and enter type as: m/d/yyyy;-0;;@

This will get rid of the 0 dates values.

Then you can get the matching data...

in B2, another array formula:

=IFERROR(INDEX('R22_BATCH'!$B$2:$B$14,MATCH(1,('R2 2_BATCH'!$A$2:$A$14=A2)*('R22_BATCH'!$E$2:$E$14=E2 ),0)),"")

confirmed with CTRL+SHIFT+ENTER not just ENTER and copied down.

Similarly you can get the info for the other columns...

Then repeat the steps for the other sheets.

Hope this helps.
Reply With Quote
Reply

Tags
max, multi-criteria, multipage



Similar Threads
Thread Thread Starter Forum Replies Last Post
Return Max Text or Number Value based on Criteria Sum based on multiple criteria (one of the criteria is not unique) until a threshold is reached. phillipsdp Excel 1 11-09-2016 12:53 AM
Select value from table based on two criteria gebobs Excel 4 07-21-2016 08:26 AM
Return Max Text or Number Value based on Criteria Formula, Compare two cell's text and based on results output a number Offrddrver Excel 4 03-23-2016 11:32 PM
Return Max Text or Number Value based on Criteria How to return a value in a data table using vertical and horizontal criteria oswald Excel 1 02-08-2015 02:01 AM
Change values in cells based on criteria SaneMan Excel Programming 2 02-02-2012 07:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:13 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft