Formula won't repeat

jasonstilson

New Member
Joined
Feb 28, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am struggling with finding a way for Excel to recognize a formula that I need repeated over a large worksheet. The formula is pulling from a different sheet. You can see the first formula is "=IF(ISBLANK('Tree Fill Sheet'!B19),0,(('Tree Fill Sheet'!B5)-('Tree Fill Sheet'!B19)))" In the next cell (C4), I need it to pull the information from the Tree Fill Sheet worksheet, but use the information from 2 columns to the right.so from B to D. "=IF(ISBLANK('Tree Fill Sheet'!D19),0,(('Tree Fill Sheet'!D5)-('Tree Fill Sheet'!D19)))" This will go all the way up to column ADM and I just don't have the time (or patience) to manually change all the column letters to match up. Thank you for any help you can offer.
Example.png
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I don't know how many columns you have in your table, but this should be quick enough to manage.

Temporarily insert a column between each existing column
Copy your formula over
Remove the extra inserted columns
 
Upvote 0
@jasonstilson, welcome to the Forum!

You could populate the row with one formula: =LET(a,'Tree fill Sheet'!B19:ADM19,FILTER(IF(ISBLANK(a),0,(('Tree fill Sheet'!B5:ADM5)-(a))),ISODD(SEQUENCE(,COLUMNS(a)))))

This assumes you want the last column, OG, to refer to column ADL in 'Tree Fill Sheet'
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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