EXCEL: List Cell Number if contains number
Closed
db_excel
-
Jun 9, 2010 at 01:23 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Jun 11, 2010 at 12:20 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Jun 11, 2010 at 12:20 PM
Related:
- EXCEL: List Cell Number if contains number
- Number to words in excel - Guide
- Excel marksheet - Guide
- Excel apk for pc - Download - Spreadsheets
- Kernel for excel - Download - Backup and recovery
- Gif in excel - Guide
11 responses
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jun 9, 2010 at 03:54 PM
Jun 9, 2010 at 03:54 PM
try this
=IF(I6=5,ADDRESS(ROW(),9,4), "")
just curious why your you want a formula to show you i6 ?
why not simple
=IF(i6=5, "I6", "")
=IF(I6=5,ADDRESS(ROW(),9,4), "")
just curious why your you want a formula to show you i6 ?
why not simple
=IF(i6=5, "I6", "")
Thank you for the reply.
Unfortunately it listed the wrong cell (F1)
Let me try and explain this better.
I have a list (~1200 rows) of Data (A6:A1200)
For each of those rows of data, I place a date when it is accessed.
When those dates per row add up to 5 (a single row of data was accessed 5 times) it places a 5 in column I (I6:I1200).
What I need is when a row of data shows 5 times accessed, that it shows that row in a separate cell so I know which one needs to be addressed out of the ~1200.
Example:
A6, A9, A1100 were each accessed 5 times, so I6, I9 and I1100 each show the number 5.
So, I need a formula that will show I6, I9, I1100 in a separate cell up on top of the sheet so I know which out of the ~1200 that need to be addressed without scrolling line by line until I find them.
Hope this makes better sense.
TIA
Unfortunately it listed the wrong cell (F1)
Let me try and explain this better.
I have a list (~1200 rows) of Data (A6:A1200)
For each of those rows of data, I place a date when it is accessed.
When those dates per row add up to 5 (a single row of data was accessed 5 times) it places a 5 in column I (I6:I1200).
What I need is when a row of data shows 5 times accessed, that it shows that row in a separate cell so I know which one needs to be addressed out of the ~1200.
Example:
A6, A9, A1100 were each accessed 5 times, so I6, I9 and I1100 each show the number 5.
So, I need a formula that will show I6, I9, I1100 in a separate cell up on top of the sheet so I know which out of the ~1200 that need to be addressed without scrolling line by line until I find them.
Hope this makes better sense.
TIA
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jun 9, 2010 at 04:12 PM
Jun 9, 2010 at 04:12 PM
So are you looking for one cell to give you a comma separated list of cell address ?
have you considered highlighting the cells in I column if the value is less than 5 ? This can be done wth conditional formatting and cell is immediately recognizable.
have you considered highlighting the cells in I column if the value is less than 5 ? This can be done wth conditional formatting and cell is immediately recognizable.
Hello.
Yes, I currently have it to highlight that row when the corresponding row in Column I hits 5 (bright red so can see it easy).
I also have it list the MAX out of I6:I1200 in a separate column so when one of them hits 5, it lights up a big "5" in Red up top so I know I need to address at least one row.
Problem with that is I do not know which out of these ~1200 needs addressing and as the sheet grows larger it will be even more difficult to scan down every row until I find one and address it.
Plus, I have no indication if it is only 1 row of data that was accessed 5 times or 100 rows.
So, if I can have a cell up top that gives me the comma separated list of cell address that have hit 5 (out of column I) then I will know which to address, where and how many of them there are.
TIA!
Yes, I currently have it to highlight that row when the corresponding row in Column I hits 5 (bright red so can see it easy).
I also have it list the MAX out of I6:I1200 in a separate column so when one of them hits 5, it lights up a big "5" in Red up top so I know I need to address at least one row.
Problem with that is I do not know which out of these ~1200 needs addressing and as the sheet grows larger it will be even more difficult to scan down every row until I find one and address it.
Plus, I have no indication if it is only 1 row of data that was accessed 5 times or 100 rows.
So, if I can have a cell up top that gives me the comma separated list of cell address that have hit 5 (out of column I) then I will know which to address, where and how many of them there are.
TIA!
Didn't find the answer you are looking for?
Ask a question
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jun 9, 2010 at 04:34 PM
Jun 9, 2010 at 04:34 PM
I must be missing some thing here. Comma delimited is possible but you can run into cell text limitation (potentially),
What I was suggesting was, the row on its own turn red, if I column is 5 and turns off the color if that is not that case, so you dont have to do any manually highlight the row.
Could you please upload a sample file with sample data etc on some shared site like https://authentification.site , http://wikisend.com/ ,https://accounts.google.com/ServiceLogin?passive=1209600&continue=https://docs.google.com/&followup=https://docs.google.com/&emr=1 http://www.editgrid.com etc and post back here the link
What I was suggesting was, the row on its own turn red, if I column is 5 and turns off the color if that is not that case, so you dont have to do any manually highlight the row.
Could you please upload a sample file with sample data etc on some shared site like https://authentification.site , http://wikisend.com/ ,https://accounts.google.com/ServiceLogin?passive=1209600&continue=https://docs.google.com/&followup=https://docs.google.com/&emr=1 http://www.editgrid.com etc and post back here the link
Here is a sample of what I am working with.
I have only included a few lines of data.
Add in dates under the "PULL" columns until you hit pull 5 to get an idea of how it is set up now.
http://docs.google.com/fileview?id=0B9PkpeqwOG0LZDc1YmM0YTQtYmMwNS00ZjkzLWI4NGUtMzYyYjI1OThkYzE4&hl=en
D.
I have only included a few lines of data.
Add in dates under the "PULL" columns until you hit pull 5 to get an idea of how it is set up now.
http://docs.google.com/fileview?id=0B9PkpeqwOG0LZDc1YmM0YTQtYmMwNS00ZjkzLWI4NGUtMzYyYjI1OThkYzE4&hl=en
D.
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jun 9, 2010 at 05:07 PM
Jun 9, 2010 at 05:07 PM
Says "Sorry, the page (or document) you have requested is not available."
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jun 9, 2010 at 05:19 PM
Jun 9, 2010 at 05:19 PM
K got it now
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jun 9, 2010 at 05:40 PM
Jun 9, 2010 at 05:40 PM
Try this
To use it call like
=FiveLocation(i:i)
Function FiveLocation(myRange As Range) As String Dim lMaxRows As Long lMaxRows = 0 On Error Resume Next lMaxRows = Cells.Find("*", Cells(1, 1), SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row On Error Resume Next For cellrow = 2 To lMaxRows If Cells(cellrow, "I") = 5 Then Add = Add & ", I" & cellrow Next If Left(Add, 1) = "," Then Add = Trim(Mid(Add, 2)) FiveLocation = Add End Function
To use it call like
=FiveLocation(i:i)
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jun 11, 2010 at 11:34 AM
Jun 11, 2010 at 11:34 AM
Could you post a workbook with the code and data and tell me what steps i need to perform to get the error
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jun 11, 2010 at 12:20 PM
Jun 11, 2010 at 12:20 PM
I dont have mac or 2008 but I highly doubt that macro is not available. By default they might be disabled. See help on macro, may be they would have some thing there