Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-09-2017, 07:29 PM
jeffreybrown jeffreybrown is offline need help pulling max + or - value from a pool of numbers Windows Vista need help pulling max + or - value from a pool of numbers Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default


Can you attach a sample file and what results you expect on the 2nd sheet?
Reply With Quote
  #2  
Old 03-09-2017, 07:55 PM
kevinU kevinU is offline need help pulling max + or - value from a pool of numbers Windows 10 need help pulling max + or - value from a pool of numbers Office 2016
Novice
need help pulling max + or - value from a pool of numbers
 
Join Date: Mar 2017
Posts: 5
kevinU is on a distinguished road
Default

ok here it is. The first tab is what it should look like. The second is the data, i had to cut 2/3 out to make it small enough so it should be 2394 rows by 30 columns, but you can still use it to find 1L, 1R through 10L, 10R to test it). The third tab is where i need the formula to put the results.

In case it helps to visualize this is an EEG map of the brain so im looking at different frequencies from 1-30 in 44 different parts of the brain both left and right. So in this case I'm trying to find the max score, or furthest from 0 whether its positive or negative at 1hz in area 1 left of the brain. Some areas have 3 different points and some like 20 have almost 40 different points i have to compare.

again thanks so much.

Kevin
Attached Files
File Type: xlsx comparison.xlsx (490.3 KB, 11 views)
Reply With Quote
  #3  
Old 03-10-2017, 02:23 PM
kevinU kevinU is offline need help pulling max + or - value from a pool of numbers Windows 10 need help pulling max + or - value from a pool of numbers Office 2016
Novice
need help pulling max + or - value from a pool of numbers
 
Join Date: Mar 2017
Posts: 5
kevinU is on a distinguished road
Default

Found the answer on a different forum, Thanks for the suggestion Jeff , here are the 2 codes that ended up working in case anyone was interested.

=IFERROR(LOOKUP(2,1/(MAX(IFERROR(ABS(IF('Power data'!$A$1:$A$2394=A2,'Power data'!$B$1:$B$2394,"")),""))=ABS(IF('Power data'!$A$1:$A$2394=A2,'Power data'!$B$1:$B$2394,""))),'Power data'!$B$1:$B$2394),"")

Attached is the code in action.


The other code that worked is this, it was able to be copied down and left which was nice.

=IF(MAX(ABS(INDEX(IF($A2='Power Data'!$A$2:$A$1397,'Power Data'!$B$2:$AE$1397),,MATCH(B$1,'Power Data'!$B$1:$AE$1,0))))=-MIN(INDEX(IF($A2='Power Data'!$A$2:$A$1397,'Power Data'!$B$2:$AE$1397),,MATCH(B$1,'Power Data'!$B$1:$AE$1,0))),MIN(INDEX(IF($A2='Power Data'!$A$2:$A$1397,'Power Data'!$B$2:$AE$1397),,MATCH(B$1,'Power Data'!$B$1:$AE$1,0))),MAX(INDEX(IF($A2='Power Data'!$A$2:$A$1397,'Power Data'!$B$2:$AE$1397),,MATCH(B$1,'Power Data'!$B$1:$AE$1,0))))

wish i could explain it but its way above my head but here it is none the less

Kevin
Attached Files
File Type: xlsx Book1.xlsx (10.9 KB, 10 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help pulling max + or - value from a pool of numbers Central Resource Pool OTPM Project 3 12-01-2015 11:27 AM
Resource pool with Sharepoint codeghi Project 3 02-28-2014 11:39 AM
Resource Pool / export Bec82 Project 3 08-16-2011 11:11 AM
Use only rsource pool gdallas Project 0 11-25-2010 01:10 PM
need help pulling max + or - value from a pool of numbers Need help with pulling out information mtnguye9 Excel 6 07-24-2010 07:52 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:27 AM.


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