Using Nested If & right function across two work sheets

John Louis

New Member
Joined
Aug 10, 2018
Messages
45
Office Version
  1. 365
Platform
  1. Windows
Hi I'm new to this site & hope I'm posting correctly. I am using this formula it's working fine as long as the data I'm working with is on the same sheet =if(right(d2,1)="r",d2,d2) Now I need to look at a new sheet in my workbook to do the same thing, this new sheet has 1000s rows & columns. How do I use my formula & make sure it's looking at the correct row & column.

Thanks very much for any input.
 
Will there only be potentially 1 of 2 different values in the column? 1 that ends in R and one that doesn't or are you looking to find a value that contains 123?
 
Upvote 0

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Yes most of the time only two but there could be up to three in some cases in the column & I'm looking to return the one ending with R if it exist if it doesn't exist return the value that doesn't end with R. :) Thank you.
 
Upvote 0
=IFERROR(VLOOKUP("*R",'published edp report'!CG:CG,1,0),VLOOKUP("*",'published edp report'!CG:CG,1,0))
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,201
Members
453,022
Latest member
RobertV1609

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