Google Sheets: How to delete rows with #REF! error while referencing other rows from a different sheet

RicardoRincon

New Member
Joined
Jan 28, 2022
Messages
5
Office Version
  1. 2021
Platform
  1. Windows
I think the solution must be simple. So I have two sheets, one with data that is added every time a new order is made, Column A is the Brand Name and column B is the Order Name for that brand. In the second sheet I reference Column A and B of the first sheet to have the exact same data, brand name and order name, the other columns in the second sheet are other calculations that I make for the specific Order, but I think that's irrelevant for my problem. My problem is that when data is eliminated in either columns A or B or an entire row is eliminated in the first sheet, I get a #REF! error in the relevant row of the second sheet and the reference formula of the entire column skips this row with the #REF! error. So the optimal scenario would be for the entire row that gives #REF! error to be eliminated and to prevent it from being skipped from the reference formula to the other sheet. I hope this makes sense, I will attach both sheets to have a better understanding.

1643387277639.png


1643387328948.png


When I eliminate highlighted row...

1643387488774.png
 
Last edited by a moderator:
OMG IT WORKED!!! Now columns A and B don't give me errors when deleting rows in the first sheet. But sadly columns C, D and E do give the same REF error. I mean I guess we need to do the same for them? Column C gives the date for when someone marks a check, Column D does the same, And E substracts the dates to have a duration, simple. But I don't know how to integrate your formula on them ?.

Formula column C:
View attachment 56781

Formula column D:
View attachment 56782

Formula column E:
View attachment 56784

YOU HAVE BEEN A LIFE SAVER RashGul
Maybe try for Cadena C & D column check marks

Excel Formula:
=if(CadenaC4<>"",If(C2="",NOW(),C2,"")
 
Upvote 0

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,223,362
Messages
6,171,640
Members
452,413
Latest member
N3edHelp

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top