How do I edit my code to search an entire column instead of the cell on the same row? - google-sheets

I have this code:
=IF(AND(IFERROR(SEARCH(MID(K1,1,2),B:B),"x")="x",IFERROR(SEARCH(MID(K1,3,2),B:B),"x")="x"),,K1)
But the problem is that it’s not searching B:B, it’s searching B1(or whatever row it’s on). Is there a way to make this search all of B:B? I tried FIND too, and that didn’t work.
Here’s a photo recreation.

Related

How can I add a tableViewCell within another TableViewCell?

I need to implement a cell inside of another cell, is it possible in any way? Or should I just find another way? thanks
Edit:
Sorry for the brief description, the problem here is that I've got a component thats a cell, and I want to include it in a tableview with some other icons and labels in the cell. Maybe the best solution here would be to include a tableview inside of the cells, with a unique cell in it, as someone suggested. I've tried to do it and it worked but when it came to launch another screen when selecting the cell it only worked on the margin where the inside tableview isn't included, how could this be solved?
something like this
Thanks!
Find another way. I don't know what exactly you want to do, but maybe modify the headerView for your section (kind of like a cell) and use the cells within that section as your sub-cells.
As it’s been stated above, I would strongly suggest finding another way. Without knowing more details about what exactly it is you’re trying to accomplish, it’s hard to give you another solution but I ran into something similar last year. It’s gets extremely messy and it does not scale well, especially when using a lot of dynamic data. Also, when using UIKit, I think there is a limitation of having a dynamic table cell inside another table cell, which limits your use cases dramatically. If you provide some more details on what it is you’re trying to accomplish, perhaps we can point you towards a better solution.

Locking formula values in google sheets

Question
I'm trying to make a google sheet for calculating my net income over a set period of time. I have all the things but one thing figured out. That one thing being, I don't know how to lock a value in a formula to make it say the same for when I select and copy the cell formula to other cells. I'm very new to google sheets (and any form of excel) so I don't have much idea as for what I'm doing. Some help would be greatly appreciated, Thanks in advance. If my question wasn't very clear or needs rewording please let me know and I will work to correct whatever it is that is unclear.
Edit
So I've been doing some searching and working on the sheet, and I've decided to drop one of the things I was going to do because it didn't make much sense. So now the situation is that I need to have a value change dynamically as I continue to add more rows. What I'm trying to do now is have the cell formula change to add together the cell, say B3, and the cell above it, B2, and have that stored on another cell. I don't really know how to go about doing this, so any help or advice is greatly appreciated. Thanks in advance and sorry for the sudden change.
EDITED
Based on your edited statement with ...need to have a value *change dynamically* as I continue to add more rows. What I'm trying to do now is have the cell formula change to add together the cell, say B3, and the cell above it, B2, and have that stored on another cell, I suppose this is what is your goal (feel free to correct me if I'm mistaken) :
Example:
Used =SUM($B$2:B) on cell C2:
If you want to just copy the value and paste, I believe that is CTL+SHFT+v. If you want to copy the formula and paste it so that it refers to the same cells when it's copied, then you need to change the references so that they are static. For instance, if the formula refers to A1 and you copy it one column over it will change to A2, and if you copy it one column over and one row down it will change to B2. If the formula refers to $A$1, it will always refer to A1. You can do this manually, or you can highlight the cell reference and press F4 to change it to a static reference.
Hope I understood the problem correctly.

find data from another sheet dynamically

I don't really know how to precisely lookup for that so please tell me if I'm doing something wrong there.
But I'd like to dynamically call a sheet using a value in the cell.
Actually it doesn't work since it displays only the text as you may see. I tried to add =SUM() but it calculate 0.
the formula is =SUM(ARRAYFORMULA(CELL("contents";A1)&"!B2"))
Here is a sheet for testing
Thanks for the sweet help.
You need to use the INDIRECT function
=INDEX(INDIRECT(B2&"!D2"))

Use last value from a specific Cell

I've looked everywhere for a solution with no joy and with no experience with Spreadsheet functions to figure this out myself, I've turned to asking it here.
Basically i need to display the previous value of a cell in another: I.E.
If cell B3 changes from 50 to 60, i need cell G3 to show 50.
I've tried:
=INDEX(B3:B; COUNT(B3:B))
with no joy.
we cant save data permanent when you delete your data in your sheet it wont save another place or it won't display anywhere

How to make more use of the separator line? E.g. making it a cell?

I was wondering, how you could do something like this, e.g. make the separator line usable, in this example as a display of votes. I think the separator line is a cell here. When you click on it a popover menu comes and you can click what you want to vote for. My question is: Does someone know how to do that or has a link to a useful explanation?
I don't think that the "seperators" are actual cells, but rather part of the previous cell. You can see that the indicatorview is seemingly not centered vertically (which I personally even find sloppy).
So, just make a custom cell with your desired behavior. Maybe google for "Accordeon cell" or something like that, I think I remember they talked about cells like that in the previous WWDCs.

Resources