convert dynamic number of rows to fixed number of columns [duplicate] - excel

I need to convert dynamic number of rows to fixed number of columns. how to do it? Here is what I want to do:
A1 B1 C1
A2 B2 C3
- B3
convert to
A1 A2
B1 B2 B3
C1 - C3
Blank spaces are indicated by dashes(-).

Transposing with blanks works fine in Excel 2010, if you are having a problem transposing in an earlier version, add a column to the left of column A (new column A), fill it with any value, copy and paste special; transpose. then delete the added values. Remember you can not paste transpose into the space you are taking from, so paste into E1, then delete the source columns after paste.

Related

Put Excel row cells under each other in one column with its serial number repeating

Is there any possibility of formula, to put cells of one row below each other in a column with its serial number repeating in first column of that particular row
For example:
Check this image:
This need to change into below image
Required End Result:
With your table in A1 through D4 (or below), in E1 enter:
=INDEX($A$2:$A$9999,ROUNDUP(ROW()/3,0))
and copy downwards and in F1 enter:
=INDEX($B$2:$D$9999,ROUNDUP(ROWS($1:1)/3,0),MOD(ROWS($1:1)-1,3)+1)
and copy downward:

Fill blank value in Excel

Need help in Excel for the following problem
ColA ColB
A1 B1
A2 B2
A3 B3
A4
A5 B5
A6 A6
A6
A6
if Column B is blank, I need to copy the value of ColA into ColB. But if the value is already present, then no action is needed.
Is it with formula or Vba?
A formula like should be ok (you copy/paste this formula to every cells in your Col)
=IF(B1="",A1,B1)
In column C enter the following formula:
=IF(B1="", A1, B1)
Copy this formula down column C. Then, assuming it looks right, you may delete the current column B, leaving the new column to become the new column B.
It is important to note that this formula won't work if directly entered into column B. In that case, Excel would complain about a circular reference.
Highlight the entire column B used range and press Ctrl+F to open find and replace then insert select
find " " (leave blank)
replace =OFFSET(INDIRECT(ADDRESS(ROW(), COLUMN())),,-1,1)
Which looks like:
Result:
This, INDIRECT(ADDRESS(ROW(), COLUMN()), refers to the cell itelf, and -1 column offset argument refers to column to left.
You can then do copy paste as values to convert formulas to hard coded values.

Excel switch 2 cells around depending on value

I am new to excel and was wondering if you could help with an issue i am trying to figure out.
I have 3 columns and would like to switch A1 with B1 if the date dd/mm/yy in B1 is before the date in A1.
Okay, let's say that columns D and E are empty. You will put the formula in those columns. In column D will be the dates which should go to column A and in column E will be those to go in column B.
In cell D1, put the formula:
=IF(B1 < A1, B1, A1)
In cell E1, put the formula:
=IF(B1 < A1, A1, B1)
And copy the formula down.
Sidenote: To make things go a bit quicker, you can select both cells D1 and E1 (selecting D1 first), go to the bottom of the spreasheet using the scroll bar only push and hold Shift and click the cell E in the last row. This should select everything from above till that cell you clicked. Then release Shift and push Ctrl+D to replicate the formulae throughout the selected columns.
After having the all formulae, copy and paste as values in place (To paste as values, you right click and go to Paste Special, find 'Values' among the different options.
Copy again and paste onto columns A and B, then delete columns D and E.

Convert Dynamic Rows to Fixed Column

I need to convert dynamic number of rows to fixed number of columns. how to do it? Here is what I want to do:
A1 B1 C1
A2 B2 C3
- B3
convert to
A1 A2
B1 B2 B3
C1 - C3
Blank spaces are indicated by dashes(-).
Transposing with blanks works fine in Excel 2010, if you are having a problem transposing in an earlier version, add a column to the left of column A (new column A), fill it with any value, copy and paste special; transpose. then delete the added values. Remember you can not paste transpose into the space you are taking from, so paste into E1, then delete the source columns after paste.

copying the data from formulated column in Excell?

Hi I have three columns in MS Excell. The columns are A1,B1,C1. C1 is calculated automatically based on formula. The formula defined for C1 is(=A1+B1). I mean C1 is the sum of A1 and B1. Now the problem is I wanted to copy the value of C1 to A1 and want to make the B1 column filled with 0.
The moment i try to copy C1 and paste it into A1 the A1 is displaying as "#href" something like this. so how do i copy the value of C1(without Formula) and then paste it to A1?
When you copy from C1 in A1 Excel is trying to insert in A1 the same formula contained in C1 with your relative addresses adapted to the new position, so the new formula in A1 should sum the two cells at the left of A1, but there are not cells at the left of A1, so the #href error is telling you that.
To do what you want you should paste it like "value". You find that option in the Paste command

Resources