For some reason there's a strange empty space between the last two images. I have tried to clear left/ right, swop images around, change the (nth child). I don't know why this space appears. My URL is suzannereeve.com
Please help?
Thanks!
In your responsive.css line 31 you have #gallery li:nth-child(4n).
Change that to #gallery li:nth-child(3n+1)
Your probleme was that you made it to be a multiply of 4 (so 4 elements in a row instead of 3).
Related
I'm trying to extract sections of text from an Excel cell then put some of those parts together.
Using LEFT, MID, TRIM, SUBSTITUTE & REPT (mainly helped by contributions on this site), I've managed to split each section down (they are separated by dashes) into it's constituent parts.
I've managed to do the easy bit which is to add sections 2 and 3 together (separated by dashes) using =L2&"-"&M2&"-"&.
I want to add the last section but the problem I have is that some of the names have 5 sections, some 6 and some 7 so I need a formula that says something like "If cells 9 & 10 are empty, use cell 8, if cell 10 is empty use 9 and if neither 9 or 10 are empty, use 10".
I've had a go with IF and AND but keep getting error messages, mainly about too many arguments. Any help would be much appreciated, I still quite a newbie to formula writing.
Assuming sections 8,9 and 10 are in columns R:T, you could use:
=LOOKUP(2,1/(R2:T2<>""),R2:T2)
How to keep a string of numbers from a Excel cell grabbed from the right and then the rest on the left to be deleted?:
I would like to keep the first 4 characters from right to left.
What I have:
222333444555
88
222333444
9933
The result that I am looking for:
4555
3444
9933
Less than 4 characters could be deleted. In this sample the 88 number was deleted as well.
The easy "aparently" solution is to splits the cells manually with the "Text to Columns" option, but this option start grabbing characters from the left. I need it grabbed from the right.
I tried already RIGHT and LEFT fuctions, but it deletes characters from the left or right. I have not fixed length as you can see, so it doesn't work.
Also I tried to analyze the following already answered question in a similar case, but I can not find the right answer:
Split text into different columns from the right
Any ideas?
Thank you in advance!
I have a huge data set that I need to separate into a hierarchy. Currently the only way to tell which level the data point is in the hierarchy is how many spaces are before the first letter (It is from an Essbase pull). I need to separate it out into various columns so that I can see the structure more effectively. There are 7 different numbers of spaces (the separation between hierarchy levels). I honestly have no idea how to get this done. Does anyone have any thoughts or advice?
You can use this formula:
=IF(COLUMN(A:A)=FIND(LEFT(TRIM($A1),1),$A1),TRIM($A1),"")
Drag across and down.
If you do not want 15 - 40 spaces and it appears that all are multiples of 5 you can do this:
=IF(COLUMN(A:A)=INT(FIND(LEFT(TRIM($A1),1),$A1)/5),TRIM($A1),"")
Using the examples in column B:
Insert column A before data. Then, get length (len) before triming (trim) spaces and after (trim) and subtract. (This assumes no spaces at end however)
=LEN(B1)-LEN(TRIM(B1))
I am using a main layout of two grid-spans, that serve as a content and the right panel. Then, in content, I have three grid-spans, that are equal columns. Like this:
1. Parent span: 6 and 6
2. Child span of first column: 4 and 4 and 4
What happens, is that when I use grid-span for the content 3 columns, then they have paddings, all three of them, and the padding of the last column visually adds to the padding of the parent container to create a double gutter.
However, when I use float-span, then we the last of the three content columns does not have a padding, and looks visually longer than the first two columns.
Is there a way to make all 3 child columns same size, AND have the third column without padding, without having to hack into singularitygs with css overrides?
That's how Singularity's fixed gutters work in the first place.
To apply backgrounds to columns without including their padding, use subcontainers.
See this demo: http://sassmeister.com/gist/b2d957171427022de7c7
PS Don't nest your Sass code. Use semantic classes to address elements directly. Use two-level depth to position children within parents, e. g.:
.parent
.child-1
+grid-span(1,1)
.child-1
+grid-span(1,2)
Never use three-level depth, unless you've got a really-really good reason.
I've got a long list of codes and text in the same cell. I need to return all the text from the right BUT the first five characters
ex. V2341 something here
I need to return the something here
=RIGHT(LEN(A1)-5)
That's what I've tried, but no luck with it. I know it's gotta be close to correct, what am I missing?
Thanks.
You're looking for MID.
If column A contains
A C D
==================== ====================== ==============
1 ABCDE12345 D1=MID(A1, 6, LEN(A1)) 12345
2 ABCDE1234567890ABCD D2=MID(A2, 6, LEN(A2)) 1234567890ABCD
REPLACE function can also be used to replace a designated number of characters with nothing, i.e.
=REPLACE(A1,1,5,"")
You can also select the whole column, use ctrl+f, then find and replace the 'v' with nothing. This will work easily if you have the same first amounts you are trying to get rid of.
If you are trying to get rid of the same number of characters, but they are different characters, you can go to Data -> Text to Columns (in Data Tools Sections). Then select the radio button fixed width. Click Next. Move the line in the graphic to the position you want it in, click Finish.