Why does the the following Formula Work if the Result is Displayed in Next To Adjacent Column ?

RapchikM

Board Regular
Joined
Oct 5, 2020
Messages
97
Office Version
  1. 2021
Platform
  1. Windows
Hello

Why does the the following Formula Work if the Result is Displayed in Next To Adjacent Column ?

Formula written in E5, F5, G5, H5 for the Value in D5
=IFERROR(MID($D5,COLUMN()-(COLUMN($D5)-0),1)+0,0)

D5 VALUE = 7691
E5 = 7
F5 = 6
G5 = 9
H5 = 1

If i shift the above formula with respective column refernce nos to E10, F10, G10, H10
the value in each above reference column/cells displays 0 or Zero
For eg Formula Copied from E10 to H10
=IFERROR(MID($D5,COLUMN()-(COLUMN($D5)-0),1)+0,0)

Why ?

Any Wrong thing or wrong reference am I incorporating

Your input shall be appreciated

Thanks
RapchikM
 
Etaf
Thank you so much for the pain taken to Explain each part.
whne in cell L5
MID($D5,COLUMN()-(COLUMN($D5)-0),1)+0
which converted to numbers is
the same as typing
MID($D5,8,1)+0

in M5
MID($D5,9,1)+0

in N5
MID($D5,10,1)+0

in O5
MID($D5,11,1)+0
Unfortunately The above also turned the resulto 0 /zero

Now When i used the Following It worked Ofcourse with your detailed explanation
L5
=IFERROR(MID($D$5,1,1)+0,0)
M5
=IFERROR(MID($D$5,2,1)+0,0)
N5
=IFERROR(MID($D$5,3,1)+0,0)
O5
=IFERROR(MID($D$5,4,1)+0,0)

FYI there was no need for Substraction of Column L =12 and Column D = 4 and taking value as 8.
Although different method to adopt Which could be rather confusing.

The MID$ did the trick of taking the position

The above remains as Final Formula From L5:O5

Thanks

RapchikM
 
Upvote 0

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
You don’t need the +0 part

Other wise you are welcome
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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