IIF stuck

thadoc

New Member
Joined
May 1, 2007
Messages
28
I am stuck and hope someone can help!

Not sure how to explain it so i'll give the example i need.

Invoice #A
Line 1 = CP
Line 2 = NC
Line 3 = UA
Line 4 = IF

Invoice #B
Line 1 = CP
Line 2 = CP
Line 3 = NC
Line 4 = CP

I need a field to call out as so for each invoice and line #

Like - If line 1 = CP then Complete, if NC then Not Complete, if UA then unassigned, if IF then insufficient funds,
ALSO
if line <>1 then call line one from same invoice either Complete, Not Complete, unassigned or insufficient funds.

Basically I need the output from line 1 to populate any following lines for that invoice and reset at the next invoice.
So if line one is complete, all lines need to say complete.

Is this possible?

I know how to get the output through the IIF statement, but not sure on how to make it populate for lines <1

any help is greatly appreciated.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,224,566
Messages
6,179,558
Members
452,928
Latest member
101blockchains

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