Can excel calculate either cell on the relationship between the two cells? - excel

I'm trying to build a basic financial tools sheet for myself. Here's a problem:
Let's make Cell B1 30 times of cell A1 (B1 = 30*A1). However I'm not sure when A1 is a known value or B1 is.
What I need is when I fill 100 in A1, B1 will be filled with 3000 (30xA1) automatically, and if I fill 60 in B1, A1 will be filled 2 (1/30 of B1).
Is it possible?

Related

Compare two cells with If clause in excel

I want to compare two numbers in two cells in excel. This is what i am trying to achieve but not able to
A1 = 100 (say)
B1 = 105 (say)
I want to find out if B1 is more than 10% of A1 or not.
This is what I have tried but in vain:
IF(A1="",0,IF(B1="",0,IF(B1>A1*1.1,TRUE, FALSE)
For your case:
if B1 is more than 10% of A1same as:if B1 is more than 11Thus in C1 enter:
=IF(OR(A1="",B1=""),"",IF(B1>0.1*A1,"yes","no"))

How to randomly select cell and the adjacent cell on excel

I am trying to find a formula on excel that will allow me to randomly select a cell between a range (this part I have found a formula for) and have the value pasted into another cell AND then have the cell next to the randomly selected cell's value also selected and pasted into a different cell.
Not sure if this makes sense so I will explain what I'm trying to do.
I have a column full of years and the adjacent column full of prices that correspond to each year. I want a year randomly selected and pasted into a cell lower down on the spreadsheet, and I want the corresponding price for this randomly selected year pasted next to this cell.
Thank you in advance!
Anna
Say the data is in A1 through B10
In D1 enter:
=INDEX(A1:A10,RANDBETWEEN(1,10))
and in E1 enter:
=VLOOKUP(D1,A1:B10,2,FALSE)
Another approach is to enter:
=RANDBETWEEN(1,10)
=INDIRECT("A" & C1)
=INDIRECT("B" & C1)
In C1 through E1
(Either approach will work if column A contains years rather than names)
Yet another approach is to enter:
=RANDBETWEEN(1,10)
=INDEX(A1:A10,C1)
=INDEX(B1:B10,C1)
In C1 through E1

Can Excel increase Cell 1 until Cell 2 matches Cell 3

I am trying to figure out a way to get Excel to increase a cell, A1, that controls another cell, B1, until B1 equals a constant cell, C1.
For instance, the industry standard to do a task is 4000 hours and is a constant; cell C1 = 4000.
Cell A1 is the number of work weeks my team must work to finish this task. Cell A1 drives a lot of calculations but arrives at cell B1, which is the work Hours necessary to complete the task. I must change the work weeks (A1) to change the work hours (B1) to match the standard. Changing A1 changes B1 (on a wicked curve, which negates using a straight up formula). I need B1 to equal C1 by letting Excel change A1. A1 will then automatically tell me how many weeks the team should work. I cannot find a formula and I don't know how to increment A1.
The examples below show me hand-jamming A1 which moves B1 closer to matching C1. C1 then gives me the proper number of weeks based on my
A1=10.00 B1=1900 C1=4000
A1=15.00 B1=2850 C1=4000
A1=20.00 B1=3800 C1=4000
A1=21.06 B1=4000 C1=4000
Ideas?
Suppose the formula in B1 is =A1*190. DATA > Data Tools, What-If-Analysis, Goal Seek..., Set cell: B1, To value; 4000, By changing cell: A1.
The formula in B1 may be very much more complex and refer to various other cells and ranges.

Dynamic Subtraction formula in excel sheet

I need to write a formula in excel for dynamic subtraction which subtracts a cell(of a specified column) from the cell just above it.
For example, A2 = A1 - G1 (G column is fixed)
and A3 = A2 - G2
and A4 = A3 - G3
and so on.
Excel is smart enough to use a dynamic reference and relative reference to the current cell. For example if you put =A1-G1 in cell A2 and use the square to drag this cell down, you will automatically get the similar formula in all others in column A.
Video example: Copy cells and keep formulas relative to current cell

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