Formula will not read the output of another formula in a different cell

Testsubject

New Member
Joined
May 19, 2022
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
Hi, I am having difficulty getting a formula in B16 to read the output of another formula in A16.

A16) Has the current formula that outputs a value based on information in another cell (F3) in this case.............=IFERROR(VLOOKUP(F3,Q:R,2,FALSE),"#VALUE!").....The output value will always be 7710 or 3810.

B16) Has the current formula =_xlfn.IFS(A16="","#A15EMPTY#",A16="3810",_xlfn.CONCAT(_xlfn.IFS(LEN(F2)>=5,"#GL TOO LONG#",LEN(F2)=4,"000",LEN(F2)=3,"0000",LEN(F2)=2,"00000",LEN(F2)=1,"000000",LEN(F2)=0,"#EMPTY#"),F2),A16="7710",_xlfn.CONCAT(_xlfn.IFS(LEN(F2)>4,"#GL TOO LONG#",LEN(F2)=4,"",LEN(F2)=3,"",LEN(F2)=2,"0",LEN(F2)=1,"00",LEN(F2)="","#MISSING#GL#"),F2,"00"))

The challenge is that even though A16 has the output of 7710, B16 does not read this output and I want to avoid having to type 7710 or 3810 manually into A16 for B16 to read it.
 

Attachments

  • Screenshot 2022-05-19 204703.png
    Screenshot 2022-05-19 204703.png
    2 KB · Views: 6

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
It looks like the formula was written in a later version of excel than you are running. All of the "_xlfn." business in the formula. If you are running 2016, "IFS" isn't there. Oddly, "CONCAT" aught to be, but it's also giving you the "_xlfn."
 
Upvote 0
My apologies, wrote it in office 365 and copied to xl 2016.

Should be without the "_xfln"

=IFS(A16="","#A15EMPTY#",A16="3810",CONCAT(IFS(LEN(F2)>=5,"#GL TOO LONG#",LEN(F2)=4,"000",LEN(F2)=3,"0000",LEN(F2)=2,"00000",LEN(F2)=1,"000000",LEN(F2)=0,"#EMPTY#"),F2),A16="7710",CONCAT(IFS(LEN(F2)>4,"#GL TOO LONG#",LEN(F2)=4,"",LEN(F2)=3,"",LEN(F2)=2,"0",LEN(F2)=1,"00",LEN(F2)="","#MISSING#GL#"),F2,"00"))
 
Upvote 0

Forum statistics

Threads
1,215,034
Messages
6,122,782
Members
449,095
Latest member
m_smith_solihull

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