Add a text word into an IFERROR_vlookup function

Gtasios4

Board Regular
Joined
Apr 21, 2022
Messages
80
Office Version
  1. 2021
Platform
  1. Windows
Hi All,

I have in the below tool the unit price of a product which is extracted by the following function from another sheet in the workbook.

Excel Formula:
=IFERROR(IF(VLOOKUP(A4;'SΕRVERS & OPTIONS'!B:E;4;0)="-";VLOOKUP(A4;'SΕRVERS & OPTIONS'!B:D;3;0);VLOOKUP(A4;'SΕRVERS & OPTIONS'!B:E;4;0))*(1-($S$2-1)%);)

So in the sheet where the VLOOKUP is performed it either finds the normal price or the Promo price. I want to add in the above function the text "Promo price at:" coupled with the promo price when it founds it.

Any hint would be appreciated.

1672320622446.png
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Which vlookup returns the promo price?
 
Upvote 0
Ok, how about
Excel Formula:
=LET(m,MATCH(A4,'SΕRVERS & OPTIONS'!B$2:B$1000,0),p,INDEX('SΕRVERS & OPTIONS'!E:E,m),IF(ISNA(m),0,IF(p="-",INDEX('SΕRVERS & OPTIONS'!D:D,m),"Promo price at:"&p*(1-($S$2-1)%))))
 
Upvote 0

Forum statistics

Threads
1,223,991
Messages
6,175,821
Members
452,672
Latest member
missbanana

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