# Formula to give a text result based on 2 arguments

#### Danoz

##### New Member
Hi,

I want to find a text result in col C, based on a number reference in col and a text reference in col B.

Is there a formula i can use for this?

I have tried lookup and if (only uses one argument) and sumifs (ignores text result)

Thanks for any help.

### Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a \$25,000 loan, 5% annual interest, 60 month loan.

#### Sandeep Warrier

##### Well-known Member
Hi & welcome to the Board,

Excel Workbook
ABCDEFG
1NumberTextResult ColNumberTextResult Col
268ABCFBEOF29ABCUICHK
310DEFOIAUO
479GHIDXQKI
529ABCUICHK
681DEFHSZLD
778GHIMEHHF
861ABCTARHH
945DEFCTWZV
1017GHIEATYD
114ABCGYYUN
1289DEFXBXZO
1340GHIGFHXH
Sheet1
Excel 2003
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.

#### Danoz

##### New Member

Thats perfect, works a treat, thankyou very much.

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,168,029
Messages
5,856,933
Members
431,840
Latest member
simplysoph

### 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.

### Which adblocker are you using?

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

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