Adding text from another cell into a formula.

MKDC1303

New Member
Joined
Nov 21, 2014
Messages
24
Hi,

I have the following formula in column Z836

=IF(OR(I836="Awarded",I836="To Be Quoted"),"Outstanding",Y836)

I want to add text from AC836 in the equation.

The text in column AC is not all the same, eg it might be Joe, or Bob, or Ralph.

The end result would be, Outstanding - Ralph or Outstanding - Joe, etc etc

Is this achievable ??

Any assistance would be much appreciated.

Thanks,
Mike
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Try
=IF(OR(I836="Awarded",I836="To Be Quoted"),"Outstanding" & " - " & ACx,Y836)

where x = row number
 
Upvote 0
Solution
Perfect, thankyou.!!
On last one if I can !

In the same spread sheet, I have this in VBA

VBA Code:
ActiveSheet.Range("$A$3:$AH$6000").AutoFilter Field:=25, Criteria1:= _
        "Outstanding - 3rd Party"

I now need to add a second criteria to be sorted from the one Macro.
Eg, such as , and I know it's not right...

VBA Code:
ActiveSheet.Range("$A$3:$AH$6000").AutoFilter Field:=25, Criteria1:= _
        "Outstanding - 3rd Party" + "Outstanding - MTMM"

Is this possible ?
 
Upvote 0
On last one if I can !

In the same spread sheet, I have this in VBA

VBA Code:
ActiveSheet.Range("$A$3:$AH$6000").AutoFilter Field:=25, Criteria1:= _
        "Outstanding - 3rd Party"

I now need to add a second criteria to be sorted from the one Macro.
Eg, such as , and I know it's not right...

VBA Code:
ActiveSheet.Range("$A$3:$AH$6000").AutoFilter Field:=25, Criteria1:= _
        "Outstanding - 3rd Party" + "Outstanding - MTMM"

Is this possible ?
This article shows how put put 2nd criteria and also operator OR, AND , whatever

 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,614
Members
449,090
Latest member
vivek chauhan

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