i am trying to reformat some a table. the current format is
example
i've tried using an array, etc but i cant figure out the 2nd column
tried some array formulas, etc but am quite lost - please help!
the end game is to get the data in this format for some index matches
Assume your "Current state" table put in E10:I13
In "What I need" cell E18, formula copied down :
=IF(ROW(A1)<=COUNTA(E$11:E$13)*COUNTA(F$10:I$10),INDEX(E$11:E$13,MOD(ROW(A1)-1,3)+1),"")
In "What I need" cell F18, formula copied down :
=IF(E18="","",INDEX(F$10:I$10,INT((ROW(A1)-1)/3)+1))
In "What I need" cell G18, formula copied down :
=IF(E18="","",INDEX(F$11:I$13,MATCH(E18,E$11:E$13,0),MATCH(F18,F$10:I$10,0)))
Related
How do I stop a formula from running if there is no data in the cell to the left?
I'm trying to work out how to display elapsed time using a fixed time and a dynamic clock.
My fixed time is in Cell D5 and my dynamic clock in Cell J4 (picture attached). To work out 'elapsed time' my forumla is as follows; =J4-D5, which works fine. However, when I copy the forumla down if there is no data in cells D6,D8,D9 etc, then it will just display the current time.
Is there some error checking that I can do that will only run the forumla if there is data present in Column D?
I am very new to excel, so apologies for the noob question.
Many thanks
If(D5 = "","",J4-D5)
Explanation:
IF D5 = "empty String" THEN "empty string". Else J4-D5.
I am having an issue naming my excel chart title using a combination of a cell reference and text. Whether I try the CONCATENATE function or just the ampersand operator, excel doesn't like it and I cannot figure out why.
Using ='Input Data'!$B$3:$F$3 & " DollarvsDepth", I receive the error "There's an error in the formula you entered"
Using =CONCATENATE('Input Data'!$B$3:$F$3, "DollarvsDepth") I get "That function isn't valid"
I would like to be able to name the chart from the text from a merged cell B3 through F3 on the 'Input Data' sheet, as well as some static text. Is this possible?
I am posting this to follow up on the comment I left above. The issue here seems to be that Excel does not like having a chart title referencing a cell which contains a formula. So, one workaround might be to create a new cell which just references your current cell with a formula. This may not be the most ideal solution, but it is one to consider.
When dealing with a merged cell, only the top-left cell reference is valid.
='Input Data'!$B$3 & " DollarvsDepth"
Try:
=CONCATENATE('Input Data'!B3, " ", 'Input Data'!C3," ",'Input Data'!D3," ",'Input Data'!E3," ",'Input Data'!F3," ","DollarvsDepth")
Input Sheet:
Output Sheet:
I need to complete a large number of pivottable formula using criteria/fieldnames that are above/to left of cells. The base, static formula is as follows:
=GETPIVOTDATA("BDGT",'Pipeline PVT'!$A$6,"FiscalQuarter","FY16-Q3","AreaName","Western Europe")
I want to grab the value field (BDGT in this example) from the formula heading, which will be BDGT. But when I replace "BDGT" with a cell reference (ie: A4), I get #REF.
Any ideas why this is not working?
=GETPIVOTDATA(A4 & "",'Pipeline PVT'!$A$6,"FiscalQuarter","FY16-Q3","AreaName","Western Europe")
The & "" after A4 is the important bit...
I need to insert another cell for each cell that contains some value.
this will explain it :
Now, what I need is to create cell in "IN PROGRESS" column with "Compeny" value for each cell in "Name" column that contains the value "jhon".
can someone help me with it ?
got it!!
I cannot upload here excel file, so you can download it from this link:
http://www.excelforum.com/attachment.php?attachmentid=396259&d=1432192664
I am totally new to this kind of challenges and not sure any thing available ( not sure even on what base I have to search )
In the below excel sheet image the column 'A' has headings in two places ( row numbers 2,3 and 9,10) . The actual excel sheet has more than six thousand rows and too many sub headings like this ( If it is small file I can do it manually.. but more than 6 thousand rows)
The challenge :- I want to populate E column with "Make" value and F column with " Model" from sub headings . Can I write any rule or macro to populate these columns ? could some one help me ? Thanks for your help
Image Link
or below
Regards
Kiran
If you want to do this solely in Excel you can use the following. This assumes
All Headings are the same for "S.No"
Change the SUBSTITUTE clause to match the text for Make and Model eg I have used exact spacing of "Model: " and "Make : " to match the spreadsheet and substitute with ""
In cell G5 Enter =IF(ISNUMBER(A5),IF(ISERROR(FIND("Model",A3,1)),MAX($G$1:G4),MAX($G$1:G4)+1),"")
In cell F5 Enter =SUBSTITUTE(IF(ISNUMBER(A5),INDIRECT(ADDRESS(MATCH($G5,$G:$G,0)-2,COLUMN(A1),1)),""),"Model: ","")
In cell E5 Enter = =SUBSTITUTE(IF(ISNUMBER(A5),INDIRECT(ADDRESS(MATCH($G5,$G:$G,0)-3,COLUMN(A1),1)),""),"Make : ","")
Then drag down the formula in E5:G5 to wherever you need. However, I only recommend using this once only as the formulae will be slow to update over large ranges. Also if your headings are out of sync then VBA is the way forward