Office 360 Excel formula with output to separate cell. No code - excel

Sorry if this is a old question, I have a requirement to have a value pushed from a cell on one sheet to another cell on anaother sheet, without setting the destination cell.
So: 'Sheet1!A1' has formula, 'Sheet2!A2' is where I would like the output to end up without setting the cell with ='Sheet!A1' or using VBA, otherwise we would not be here right now.
It seems like a simple ask the beginning but I'm stumped

The cell in the other sheet cannot have the answer and also be blank. You can, however, set the colour of the text to be the same as the background.

Related

Hide #NA displayed in the cell by formula =IFERROR(~~~,NA())

I'm trying to format my excel sheet and to display organized chart, I have to do( A1~A100 )
IFERROR($B1+$C1,NA())
To make cells #NA value instead of
IFERROR($B1+$C1,"")
IFERROR($B1+$C1,"-")
because those "" or "-" is going to be shown as 0 value on chart and it looks really bad on sight.
But I don't want #NA to be shown on my cells. It's clearly makes my sheet looks messy.
I tried to do Conditional Formatting to do
'New Rule...'→'Use a formula to determine which cells to format'→=ISNA(A1)→white blank
It worked but since the rule only applies only when "A1" is not #NA and not to others, I don't think this is a practical solution.
Try this in your formatting =ISNA($A1) then drag down copy the cell after clicking apply.
I don't see any other choice than using range1 (your current range) for calc and as chart source, then create range2 pointing to range1 using IFERROR, then finally hiding range1.
A bit clumsy, but that's the only way I see here to separate data from presentation.

Can I alter a formula that links to another workbook where the worksheet that is being referenced is obtained from the value of a cell

This is a relatively simple question. I have a formula, let's say it's ='C:#Work\Things\Small Things[Ants.xlsx]Fire Ants'!Q$1484. In the worksheet I'm using which uses this formula to obtain a value I have a cell P6 which is the name of the worksheet. This worksheet which contains this formula I just showed is called blue ants. The cell P6 changes when I change the name of the worksheet.(This formula does this =REPLACE(CELL("filename",A1),1,FIND("]",CELL("filename",A1)),"")).
Now my question is if it's possible for the Worksheet(Fire Ants) in the 1st formula showed to actually reference Cell P6. For instance the Formula would look somewhat like ='C:#Work\Things\Small Things[Ants.xlsx]P6 '!Q$1484. Atleast this is the idea of the formula I hope to have. I want to do this because I have multiple Sheets in the ants File. I would like to quickly pull information on different sheets by just changing the name of the worksheet i'm using which then changes cell P6. This should be a relatively easy solution, (I hope atleast) but I just can't figure this out.
BTW I just made up the workbook as an example of what i'm trying to do.

Excel Dynamic Conditional formatting

I am sure this is really simple but cannot get it to work. I am trying to do some conditional formatting on a sheet that over time will have additional columns added to it. I want the formatting to be there before hand since the data is being added via VBA and the person using the spreadsheet are not Excel experts.
What I have is a column with numbers in. When a new column is entered I want to compare the value with the value in the previous column and then colour the cell accordingly. I can do this for a single cell with for example "=D2>C2".
I want to be able to write the rules in cell D2 comparing it with cell C2 and then have the rules apply across the area D2:DDD300. So for example cell N19 will compare itself to cell M19.
I thought I could use the "Applies to" box but that does not work. Any ideas on how I can achieve this?
Okay this now appears to be working. Not sure what I did differently but deleted all the rules and then set them up again. The only thing I did different was to initially do it for just the 1 cell, then expanded it out to the row when I knew it was working, then finally the whole area.
Sorry to have wasted peoples time
Your method should work. It does for me. Maybe this helps:

vba excel formula in locked cell changes to numeric value

I have a simple formula (an AutoSum) in a protected sheet and locked cell. My VBA code does not access this cell directly. Despite this, the formula sometimes changes to the numeric result when the sum changes. Any ideas how I can prevent this from happening?
It sounds like the Cell value is being set implicitly which over writes the formula. You may have a cell reference that you are missing. If your code does not set anything in that cell, then there is something in your workbook doing it. Try going to the Formulas tab and selecting Trace Dependents. See if an arrow points to something you were not aware of. Some of my sheets get so huge that I can loose track of things. Especially if I do any cutting and pasting.

Checking cell value dynamically

What I'm doing is a simple map on one tab of an office space that has all the cubicals laid out. On this map, I have conditional formatting checking another table of listen computers for the last time they were updated/maintained. It works as it stands, but we are moving into a new building and the map (which is already done) has WAY more cubes than last time. So I'm trying to figure out a more efficient way to do this task.
Here is the code:
=AND(VLOOKUP("CCA C1",LOCATION,3,FALSE)<>"",VLOOKUP("CCA C1",LOCATION,3,FALSE)<TODAY()-80)
So as it sits, it works fine. But what I'm trying to do is change the "CCA C1" to simply read the contents of the cell it's formatting so I can just format an entire range of cells rather than doing it cell by cell. The "CCA C1" is in the location of the second sheet (it's a named range). So this checks that entire range for "CCA C1" and checks if the date a couple columns over in that row is within 80 days, if it's not it highlights the cell in the map in red reminding us we need to check the computer. But what I would like to do is simply put "CCA C1" in the cell in the map (which is already is labeled), and have this check for the value of the cell it's formatting and look for that value the same way it's looking now. Just without me having to put "CCA C1" in the formula, I'd like to say something like this:
=AND(VLOOKUP(CURRENT CELL VALUE,LOCATION,3,FALSE)<>"",VLOOKUP(CURRENT CELL VALUE,LOCATION,3,FALSE)<TODAY()-80)
Make sense? Anyone know of a way to do this? Otherwise I have to conditionally format each individual cell with the value manually rather than just format all the cells with the same formatting and have the formula check the contents of the cell for what to look for in the location range of the other sheet.
And to clarify, I know that I can put in the actual cell, such as E3, but then I still have to manually change the formula for each cell which defeats the purpose. I want to just say current cell or something like that. I have 3 conditional formats for each cell, I have around 100 cells to be formatted, so rather than having 300 formats I have to put in, I'd love to just do 3. Not sure if this is possible, that's why I'm asking :)
Just replace "CCA C1" with the address of the first cell in the range of cells with the conditional formatting. Assuming your conditional formatting starts in B2:
=AND(VLOOKUP(B2,LOCATION,3,FALSE)<>"",VLOOKUP("CCA C1",LOCATION,3,FALSE)<TODAY()-80)
EDIT: As I commented, I'm not sure I understand the issue, but if I do, you need to enter the range of cells with CF in the applies to range of the CF dialog, rather than copying and using Paste Special:
Note that this works with the merged cells.
You will need to adjust the applies to range as you add more computers, etc., but the same formula will work.

Resources