Linking cells in same Excel spreadsheet - excel

In Excel, how can I set up a spreadsheet so when I type in one cell it will populate another cell in the same spreadsheet?

I'll field this one.
If you want the contents of, say, C1 to mirror the contents of cell A1, you just need to set the formula in C1 to =A1. From this point forward, anything you type in A1 will show up in C1 as well.

Well the simplest way is to have a formula in Z99 =B4 so that when you type in B4 Excel will copy the value to Z99.
But maybe thats not what you are looking for?

If you want to use the example of Ben Hoffstein between two spreadsheets (cell from Sheet1 to Sheet2) you should use the formula =Sheet1!A1

=Value(Click on cell you want to match assuming it's a number)
Copy, Paste Formula along column or row or array

Related

Excel - how to return a text in a cell when something is tyed in a different cell

Good day
I am trying to create a worksheet where if something is typed in to a cell then a word should appear in another cell.
Let's say for example if, in cell A1 the word "Generic" is typed, then I want the number 1 to appear in cell B2, and if the word "QSE" is typed in cell A1 then I want the number 2 to appear in cell B2.
Any suggestions?
Much appreciated
Use an IF formula in cell B2:
=IF(A1="","",IF(A1="generic",1,IF(A1="QSE",2)))
The easiest way is to create a small table of inputs and outputs.
Then use VLOOKUP to reference that table and return the correct value:
=VLOOKUP(A1,F:G,2,FALSE)
If you do not want the grid but want to "hard code" in the formula:
=INDEX({1,2},MATCH(A1,{"Generic","QSE"},0))
One more option if you have a subscription to Office 365 Excel:
=IFS(A1="Generic",1,A1="QSE",2)

Formula to Search for Data in One Column, then Apply Formula

I am working on a personal budget sheet in excel, and it's formatted based on my pay dates, to provide more drilled-down information. I have attached an example of it below for reference.
I would like to put a formula into J2, J3, and J4 which will take the data in cells C9:C26 and H9:H16, match it to the date in cells D2:D4, then subtract the expenses in D9:D26 and I9:I16 from E2, E3, and E4.
As you can see, I have just individually summed the cells; however, I would like a formula to be able to adjust as I change the value in cells C9:C26 and H9:H16.
I have found that I can do it with ONE cell, but not multiple or a range. This is the formula I used, and I cannot find a way to make it apply to the entire range of cells: =IF(C14=D3,E3-D14)
I've also tried: =IF(C9:C25=D3,E3-D9:D25) -- I know this formula doesn't work and why. I cannot figure out how to get column C to correspond with column D.
The Budget Sheet
You just need to use SumIf().
In cell J2, put this formula: =SumIf($C$9:$C$25,$I2,$D$9:$D$25)+SumIf($H$9:$H$25,$I2,$I$9:$I$25) and drag down the three cells.
With that, you can add E2-[formula] to subtract all that from E2. Or of course, just do e2-J2 instead. I think that should do what you're looking for. If it's not quite it, let me know and I can tweak.
If you plan to have more than 1 criteria go with SUMIFS
Yes, with S

Excel: Apply a formula to a column to "print" a row

I'm having data set up as:
A1
A2
A3
and so forth and I want to make a formula in Excel which present them row-wise instead:
A1 A2 A3
How do I do this? I've tried to use the formula
=$A1
And drag that out, but it simply presents the data as $A$1 (i.e. it simply copies the value in A1 into all columns of the row.
You need =TRANSPOSE() formula, but it's tricky:
Enter =TRANSPOSE(A1:A3) to cell say B1.
Select three cells with a mouse: B1:D1.
Press F2 key and enter edit mode.
Press Ctrl+Shift+Enter.
Voila!
COPY all your data and PASTE as TRANSPOSE, simple as that ;)
You can find more information here: http://www.techrepublic.com/blog/microsoft-office/transpose-excel-data-from-rows-to-columns-or-vice-versa/
*EDIT: I might have misunderstood the question. If I did let me know and I will remove my answer.

Cell Formula to link to another cell and use that formula

I'd like to create a sheet that has a master formula. From there, I'd like to have a number of lower cells below use the same cell formula but apply it at it's relative position.
For example, in B1 i would write = a1+1.
In b2, I'd like it to apply the b1 formula, so I'd type in a formula to link to b1, but what I really want is the code in that cell, and to have it be relative, so the output would be a2+1.
In b3, id reference b1 but have it return a3+1.
In b4, id reference b1 but have it return a4+1
In b5, id reference b1 but have it return a5+1
This is a very simplified version of what I need. the benefit of doing this is I can change the formula in B1 and have it cascade to all the cells below it. In reality, I can't just drag down because I'm using a template for financial statements on a per market basis. we have dozens of markets and its a pain in the rear to copy/paste them down each time I want to make a simple formula change.
Thanks for any comments. I'd like to do this without VBA if possible. With VBA it gets easy.
Have you considered Named Formulas? If you use relative references in named formulas, then they will be adjusted if the named formula is used in another cell.
For example: Select cell B2, click Formulas > Name Manager > New, enter a name like B2Formula and let it refer to
=Sheet1!A1+1
No $ signs in the cell reference!!!
Now enter this formula into B2:
=B2Formula
Copy the formula down.
Now you decide you need a different formula in B2. So edit the named formula and change it to
=Sheet1!A1*2
and look at the sheet! You only edited one formula, but all the values in column B have adjusted to that new formula
Named Formulas are VERY powerful, especially when used with relative references. Remember that the references will be relative to the cell that is selected when the named formula is defined. Also, when you need to change a named formula with a relative reference, you need to select the same original cell before editing the named formula.

Copying Cells in Excel

I don't know if stackoverflow is the right place for this question:
I have an Excel table with values in the cells C3, G3, K3 and so on...
Now i want to copy these values in the cells B27, B28, B29 and so on...
Can I manage this in the Excel command line or do I need to write some VBA code?
(I'm using Office 2010)
Put this in cell B27 and copy down as far as you need: =OFFSET(C$3, 0, (ROW()-27) * 4)
I may be misunderstanding the question, but in excel you can simply reference a cell to get it's value, so in C3 enter =B27, and the value from C3 will appear. Repeat for the other cell values you'd like to copy

Resources