Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Which cell did my formula find?

I have a MIN formula reading vendor bids across many worksheets in the
workbook. It works but I cannot see which worksheet the bid was on. Trace
Precedent doesn't work.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 470
Default Which cell did my formula find?

I have a couple of ideas (untested) but I am curious as to what the exact
formula is.

IDEAS:
Once you find the MIN value have a cell that uses the IF function along with
the MIN formula to display the vendor: IF(MIN(....)=B1,vendorname,.....).
B1 would be the MIN formulat that works. Vendorname would be the vendor
pulled from the sheet that has the MIN value that was found.

Another idea is if the same MIN formula can be placed in a conditional
format. Then the format can change on the vendor that meets the criteria.

Again, untested, but a couple of ideas that popped in my head.

Les

"SLOGIC" wrote:

I have a MIN formula reading vendor bids across many worksheets in the
workbook. It works but I cannot see which worksheet the bid was on. Trace
Precedent doesn't work.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Which cell did my formula find?

Select the cell containing the MIN formula and run this macro:

Sub WhereIsIt()
v = ActiveCell.Value
mesage = ""
For Each w In Worksheets
For Each r In w.UsedRange
If IsNumeric(r.Value) Then
If r.Value = v Then
mesage = mesage & w.Name & r.Address & Chr(10)
End If
End If
Next
Next
MsgBox (mesage)
End Sub

This will find the sheet containing the min value and the cell as well. If
there is more than one occurance of the minimum, all occurances will be
returned.
--
Gary''s Student - gsnu200772


"SLOGIC" wrote:

I have a MIN formula reading vendor bids across many worksheets in the
workbook. It works but I cannot see which worksheet the bid was on. Trace
Precedent doesn't work.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Which cell did my formula find?



"Gary''s Student" wrote:

Select the cell containing the MIN formula and run this macro:

Sub WhereIsIt()
v = ActiveCell.Value
mesage = ""
For Each w In Worksheets
For Each r In w.UsedRange
If IsNumeric(r.Value) Then
If r.Value = v Then
mesage = mesage & w.Name & r.Address & Chr(10)
End If
End If
Next
Next
MsgBox (mesage)
End Sub

This will find the sheet containing the min value and the cell as well. If
there is more than one occurance of the minimum, all occurances will be
returned.
--
Gary''s Student - gsnu200772


"SLOGIC" wrote:

I have a MIN formula reading vendor bids across many worksheets in the
workbook. It works but I cannot see which worksheet the bid was on. Trace
Precedent doesn't work.

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
formula to find how many cell have a number between 2 numbers. SCOTTAFRED Excel Worksheet Functions 3 October 19th 07 06:05 PM
find last cell in a column but not a formula West Excel Worksheet Functions 8 January 11th 07 05:01 PM
Is there a formula that can find the cell corresponding to a trans beecher Excel Worksheet Functions 6 October 5th 06 05:58 AM
Can a formula find a comment in a cell CRH Excel Worksheet Functions 3 September 28th 06 07:47 AM
Formula to find cell with data on a row Steved Excel Worksheet Functions 5 June 10th 05 09:17 PM


All times are GMT +1. The time now is 01:23 PM.

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"