Hi,
I'd like to be able to cycle through a restricted number of values in a matrix, using a form. In addition, I'd like to use a formula to define the first value of that cycle. Eg:
matrix:{5;12,5;21;23;30}
find lowest number higher than 16
should be: 21, 23, 30 <- i want to be able to cycle through these numbers with a form (scroll bar)
if possible, would also like this formula to show not only {21,23,30} but also {5+12,5=17,5;21;23;30}
Is it possible?
Thanks
Last edited by Coaster; 03-21-2010 at 12:28 AM.
Hi,
first it is possible
second it is not straightforward
To know how best to answer this it would be helpful to have somebackground information.
- is this a one-off exercise
- where is the data in the table coming from (and how is it entered)
- are the row and column headings always the same values and the same number of them
- How big is the table likely to be
- who is going to use the spreadsheet (just you or other people)
- what does the data relate to
My thoughts are :
- if the data was stored as three columns eg:
col, row, value
0.10,6,3.83
- then you can use ADO sql query to do a select of all values greater than your value.
- and another ADO sql query to do a union self join witha sum as a returned value and again exceeding your value.
- it would be easy to have a table displayed in the same form as your current one
![]()
Hope this was useful or entertaining.
Hi tony h,
Thanks for your reply.
1. This is something I want to do to speed up the process of selecting the right combination. The table and all of its values are constant and of that size you see in the attachment, that is, it won't be changed (neither values nor headings)
2. Background: this work is related to civil engineering. The row headings are diameters of reinforcement steel and the column headings are spacings. The data values are steel areas. Given a steel area (input) I want to select the lowest combination of diameter and spacing higher than the input area.
3. I thought about and I would be please if it were possible to come up with a drop menu that showed the row's diameters and another that showed the column's spacings, thus not making it completely automatic (I would have to select the right combination) and then according to that selection, showed the corresponding value in the table.
I guess this is simpler, the thing is that I have no idea how to do this
This isn't quite the same as your suggestion But I wondered if this would do the job.
My assumption is that only the sheet "Final" would be used. I left the others in there so you could see my working![]()
Hope this was useful or entertaining.
Hi tony h,
I guess you wanted to attach something but you didn't lol
Thanks anyway
The curses of having problematic broadband.
Hopefully this one is attached.
![]()
Hope this was useful or entertaining.
tks a lot! this solves my problem![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks